Skip to content
Snippets Groups Projects
user avatar
Josh Borrow authored
ce2e713a
History
Name Last commit Last update
design
.gitignore
README.rst
requirements.txt

Swift Website

This is the website for the SWIFT project. You can build the website by doing the following:

  • Create a virtual environment (`` virtualenv3 env ``)
  • Activate it (`` source env/bin/activate ``) [note to deactivate you want to use the `` deactivate `` keyword in your shell]
  • Use that virtual environment to install the required packages (`` pip install -r requirements.txt ``)
  • The source files for the website are found in `` site/ ``. Change to this directory.
  • Use `` nikola build `` to build the website. The generated files will be placed in `` output ``. These can now be transferred to your webserver by using `` scp ``.
  • You can start a local webserver to check things worked correctly by using `` nikola serve -b ``. This should open your browser at the same time.