Masterclasses are a series of talks and workshops on varied topics presented by the amazing people at Canonical.
Canonical is known for its brilliant people, both in terms of intelligence and varied interests. Often these interests are discovered serendipitously when passing conversations. The initiative would like to provide a platform for this to occur company wide. Recordings will provide longevity to the content and allow people to hone their public speaking and presentational skills.
masterclassses.canonical.com is a Flask v1 app and uses Flask-base: This is Canonical's core Flask app that sets default functionality (e.g. redirects.yaml, templates/404.html, robots.txt, favicon, caching headers, security headers).
It uses dotrun for local development, defining standard endpoints for serve
, build
, test
, watch
etc. within the package.json. This allows for a consistent development experience across all Canonical projects.
- Create a
.env.local
file locally in the repo head directory with the following contents:
PRIVATE_KEY_ID=your_private_key_id
PRIVATE_KEY=your_private_key
DATABASE_URL=production_database_url
Ask a member of the team for the values of these keys.
these keys are mastermasterclasses-canonical-com google drive keys.
- Install dotrun as described in https://github.com/canonical/dotrun#installation
- Launch it from the head of this repo by running the following command:
dotrun
- Once the containers are started, you can visit http://127.0.0.1:8409 in your browser.