Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 1021 Bytes

README.md

File metadata and controls

79 lines (53 loc) · 1021 Bytes

Biohub (Team_USTC_Software)

Welcome to Biohub.

Our Wiki Our Website

USTC-Software

Installation

Requirements

  • python >= 3.5
  • pip
  • mysql >= 5.7
  • redis
  • nodejs

Deployment

git clone https://github.com/igemsoftware2018/Team_USTC_Software
cd Team_USTC_Software

Backend

cd Backend
  • Make sure mysql,redis services are running.
  • Edit configuration.
cp config.json.example config.json
vim config.json
  • Create runtime environment.
python3 -m venv .env
source .env/bin/activate
(.env) $ pip install -r requirements/dev.txt
  • Initialize.
./biohub-cli.py init
  • Run server.
./biohub-cli.py runserver

Frontend

Frontend pages are built with angular, it's easy to setup with angular-cli tools (ng).

cd Frontend
Debug mode
ng serve

Production mode

ng server --prod