https://github.com/webmalc/prof-it-server
prof-it django rest backend
https://github.com/webmalc/prof-it-server
django django-rest-framework python
Last synced: 28 days ago
JSON representation
prof-it django rest backend
- Host: GitHub
- URL: https://github.com/webmalc/prof-it-server
- Owner: webmalc
- Created: 2017-06-15T08:32:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T15:02:23.000Z (about 8 years ago)
- Last Synced: 2025-01-25T08:11:23.658Z (over 1 year ago)
- Topics: django, django-rest-framework, python
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prof-it-server
prof-it django rest backend
## users
two-factor setup url: account/two_factor/setup/
## installation
1. install requirements: postgresql, redis, python3, npm, pip
2. create and activate virtualenv for project
3. copy profit/settings_local.py.dist to profit/settings_local.py and change it
4. run: pip install -r requirements.txt (python libs)
5. run: npm install (js libs)
6. run: ./manage.py makemigrations (migrate DB)
6. run: ./manage.py migrate (migrate DB)
7. run: ./manage.py createsuperuser (new user for admin backend)
8. !!! optional !!! run: ./manage.py loaddata tests/technologies tests/pages tests/works (load test db fixtures)
9. run: pytest --pep8 --flakes (run tests to determine if everything is alright )
10. run: ./manage.py runserver_plus (run dev server)
11. open url: http://localhost:8000 (Well done! =))