Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 407 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 407 Bytes

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