Useful to quickly get started on building Flask apps with modern frontend practices.
- Clone this repository:
git clone https://github.com/Cheaterman/fluxt && cd fluxt
- Install uwsgi - example for Debian:
apt install uwsgi
- Start the database server:
docker-compose up -d db
- Create the backend virtualenv and activate it:
cd backend && python3 -mvenv env && source env/bin/activate
- Install backend runtime & test dependencies:
pip install -r requirements.txt -r requirements-test.txt
- Run database migrations:
flask db upgrade
- Run the development server:
cd .. && ./start_devserver.sh
- In a few seconds, the example chat app should be available at http://localhost:8080/ (if you're getting 502 Bad Gateway, be patient and try again :-) )