Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
3. Create a database called workgen in MySQL
4. Set environment variables ```WORKGEN_USER``` and ```WORKGEN_PASSWORD``` as your MySql username and password
5. ```python3 manage.py migrate```

6. Run ```./git-hook.sh```

## Running the Web Server
1. First run ```redis-server``` on a separate terminal
Expand Down
4 changes: 4 additions & 0 deletions git-hook.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
echo "#!/bin/sh
flake8 ." >> .git/hooks/pre-commit

chmod 777 .git/hooks/pre-commit
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
amqp==2.3.2
autopep8==1.3.3
billiard==3.5.0.4
celery==4.2.1
click==6.7
Expand All @@ -9,11 +10,13 @@ django-excel-response2==2.0.8
django-extensions==2.1.2
django-six==1.0.4
et-xmlfile==1.0.1
flake8==3.7.8
jdcal==1.4
kombu==4.2.1
lxml==4.2.4
mysqlclient==1.3.13
openpyxl==2.5.5
pycodestyle==2.5.0
python-docx==0.8.7
pytz==2018.5
redis==2.10.6
Expand Down