Skip to content

nthuion/nthuion-backend

Repository files navigation

nthuion-backend

Backend of NTHU ION

https://travis-ci.org/nthuion/nthuion-backend.svg?branch=master

Resources

Prerequisites

  • Python 3.5
  • Redis
  • PostgreSQL

Environment setup

python3 -m venv venv         # setup virtual environment
source venv/bin/activate     # exports PATHs
pip install -e ".[testing]"  # installs dependencies

Initialize database

initialize_nthuion_db development.ini

Run redis server

redis-server redis.conf

Run the development server

uwsgi --ini-paste development.ini

The server will be running on port 6543

Run tests

py.test

Remove database

rm nthuion.sqlite

About

NTHU ION Backend Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages