-
After cloning the repo proceed to navigate to the
cli/
directory -
Install the CLI dependencies
pip install requirements.txt
- Execute the following to make
s5n.py
executable, strip the.py
extension and setup a global path fors5n
chmod +x s5n.py && mv s5n.py s5n && mkdir -p ~/bin && cp s5n ~/bin
- Append this line to add
~/bin
to your PATH in your.bash_profile
or.zshrc
and reload your shell.
export PATH=$PATH":$HOME/bin"
The s5n
interface should be globally available.
Server-side rendered application and REST API built with Flask/Jinja.
To get started add an environment variable in the app/
directory as such.
export FLASK_APP=app
To start the server in development mode:
export FLASK_ENV=development
flask run