-
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.pyexecutable, strip the.pyextension 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
~/binto your PATH in your.bash_profileor.zshrcand 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=appTo start the server in development mode:
export FLASK_ENV=developmentflask run