The codebase for http://snapcraft.io.
To run this project, you need npm
, jekyll
and sass
installed. E.g. Ubuntu:
sudo apt install nodejs-legacy npm ruby-sass jekyll
Now, in the project folder, install nodejs dependencies:
npm i
To fire up the project, run;
node_modules/gulp/bin/gulp.js
This should open http://localhost:3000/
in your browser.
To deploy to Github Pages under your local Github username, please run;
gulp deploy
You should then be able to view the site at: http://YOUR-GITHUB-USERNAME.github.io/snapcraft.io
To import the documentation, make sure you have python 3.5 (python3 --version
) with python-frontmatter installed, and run:
./import-docs.sh
Then re-run the site with gulp
.
Code licensed LGPLv3 by Canonical Ltd..
With โฅ from Canonical