ATST

Build Status

Installation

script/setup

The setup script will create a new Python virtual environment for the application to use. All of the scripts will activate this virutal envirnment automatically, but you can also manually activate it like this:

source .venv/bin/activate

When you are done, type

deactivate

If you want to automatically load the virtual environment whenever you enter the project directory, take a look at direnv. An .envrc file is included in this repository. direnv will activate and deactivate virtualenvs for you when you enter and leave the directory.

Running (development)

To start the app and watch for changes:

DEBUG=1 script/server

Testing

To run unit tests:

script/test

or

python -m pytest

Notes

tornado templates are like mustache templates -- add the following to ~/.vim/filetype.vim for syntax highlighting:

:au BufRead *.html.to set filetype=mustache
Description
No description provided
Readme 17 MiB
Languages
Python 48.6%
HTML 43.1%
JavaScript 3.7%
SCSS 3.7%
Shell 0.8%
Other 0.1%