branch | Travis | Sonarcloud | Coveralls |
---|---|---|---|
dev |
git clone https://github.com/swsnu/swpp2020-team6.git
These steps assume you have a Linux 18.04 LTS machine. All commands for backend assume an activated virtualenv.
sudo apt-get install npm
sudo npm install -g yarn
cd frontend
yarn install (if not working, "yarn install --ignore-engines")
sudo apt-get install python3-virtualenv
sudo apt install python3-pip
pip3 install virtualenv
virtualenv --python=python3 rotus-env
source rotus-env/bin/activate
sudo apt-get install python3.7-dev default-libmysqlclient-dev
cd backend
pip3 install -r requirements.txt
python3 manage.py makemigrations user roadmap section task tag comment
python3 manage.py migrate
In swpp2020-team6/frontend
,
yarn start
In swpp2020-team6/backend
,
python3 manage.py runserver
In swpp2020-team6/frontend
,
yarn test --coverage --watchAll=false
In swpp2020-team6/backend
,
coverage run --source="./user/","./roadmap/","./section/","./task/","./tag/","./comment/" --omit='manage.py','*/__init__.py','backend/*','utils/*' manage.py test --settings=backend.settings.ci && coverage report
You can refer to our wiki for detailed information.