npm install
npm start
npm test -- --coverage --watchAll=False
./node_modules/.bin/eslint src
Linux
Since we use mysql, you should install belows by apt-get
sudo apt-get install mysql-server mysql-client
sudo apt-get install libmysqlclient-dev
sudo apt-get install pylint
sudo apt-get install libpq-dev python-dev
should setting mysql with this link at first
mysql -u root club4u < [FILE NAME]
- should do after access root with no password and create 'club4u' DB
Window
- install mysql server manually in https://dev.mysql.com/downloads/installer/
- install l mysql client using whl (ref : https://hyunyikim.tistory.com/9 )
- install mysql workbench in https://dev.mysql.com/downloads/workbench/
- create new schema "club4u"
- open sql file, and double click club4u schema, then execute sql
python manage.py makemigrations
python manage.py migrate
- done!
pip install -r backend/requirements.txt
python manage.py runserver
should be done when the virtual-env is activated
coverage run --branch --source='./club4u' manage.py test
coverage report --show-missing
pylint --load-plugins pylint_django */models.py */views.py */test/*.py --disable='C0103, R1705, C0301, R0904, R0801, C0412, C0114, C0115, C0116, W0511, C0330, C0303, W0614, W0401, R1721, R0912, R0914, R0915, C0200, W0621, W0221, C0326, W0612, W0613'