Skip to content

Repository for the new version of canonical.com

License

Notifications You must be signed in to change notification settings

mtruj013/canonical.com

 
 

Repository files navigation

Canonical canonical.com

The new codebase, to replace the old one.

CircleCI build status Code coverage

This is the repository for the canonical.com website.

Architecture overview

This website is written with the help of the flask framework. In order to use functionalities that multiple of our websites here at Canonical share, we import the base-flask-extension module.

Development

The simplest way to run the site is with the dotrun snap:

dotrun

Afterwards the website will be available at http://localhost:8002.

When you start changing files, the server should reload and make the changes available immediately.

Greenhouse API

To work locally on the /careers section of the site, you will need to add a HARVEST_API_KEY environment variable to .env file. You can find this via the Greenhouse admin panel.

Deploy

You can find the deployment config in the deploy folder.

License

The content of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying code used to format and display that content is licensed under the LGPLv3 by Canonical Ltd.

About

Repository for the new version of canonical.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 83.9%
  • Python 5.8%
  • JavaScript 5.2%
  • SCSS 2.7%
  • Shell 1.2%
  • TypeScript 0.8%
  • Other 0.4%