No description, website, or topics provided.
HTML Python Shell JavaScript CSS
Switch branches/tags
Nothing to show
Latest commit 6e4202d Jan 9, 2018 @tbille tbille Merge pull request #222 from tbille/csrf-protect
Add CSRF protection library

README.md

snapcraft.io

This is the new Flask application that will gradually replace the website at https://snapcraft.io, starting with the snap details page.

Local development

The simplest way to run the site locally is to first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script:

./run

Once the containers are setup, you can visit http://127.0.0.1:8004 in your browser.

Building CSS

For working on Sass files, you may want to dynamically watch for changes to rebuild the CSS whenever something changes.

To setup the watcher, open a new terminal window and run:

./run watch

Testing

./run test