Kumzy / cf-leaderboard-back

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cf-leaderboard-back

Installation

Create database and extensions

create database cf_leaderboard;
create extension if not exists "pgcrypto";

Initialise the database

flask db init
flask db upgrade

Udpate the db after a modification

flask db migrate -m "<comment>"
flask db upgrade

Run

uwsgi --socket 0.0.0.0:5000 --protocol=http -w cf_leaderboard:app

About

License:Apache License 2.0


Languages

Language:Python 99.5%Language:Mako 0.5%