tacoda / microblog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microblog

A simple Flask app.

A proof of concept to learn how to use Nix and Devenv.

Dependencies

Nix

Using Nix

# Build
nix-build

# Run the flask app
nix-shell --run "python microblog.py"

# Test the output of the sever
nix-shell --run "bash verify.sh"

Using Devenv

Preferred method

# Run the flask app
devenv up

# Start a shell in the app environment
devenv shell

# Run commands in the app environment
devenv shell flask routes

About


Languages

Language:Python 66.1%Language:HTML 20.4%Language:Nix 7.7%Language:Mako 2.9%Language:Shell 2.8%