https://github.com/zapix/webchallenge_me
Task for webchallenge.me
https://github.com/zapix/webchallenge_me
Last synced: 2 months ago
JSON representation
Task for webchallenge.me
- Host: GitHub
- URL: https://github.com/zapix/webchallenge_me
- Owner: Zapix
- Created: 2015-09-14T18:27:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T00:41:58.000Z (almost 3 years ago)
- Last Synced: 2025-01-10T00:15:22.442Z (9 months ago)
- Language: Python
- Size: 186 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webchallenge_me
Task for webchallenge.me## backend
For backend you need to have:
* Redis
* Rabbitmq
* Postgresql
* libmagic
* pythonActions to run backend
* Create virtual env `mkvirtualenv webchallenge`
* Setup requirements `pip isntall -r backend/backend/requirements.txt`
* copy `backend/backend/local_settings.py.sample` to `backend/backend/local_settings.py`
* edit `backend/backend/local_settings.py` to use your redit, rabbitmq, postgres
* go to backend `cd backend`
* start one or several celery processes `celery -A backend worker --loglevel=INFO --concurrency=10 -n worker1.%h`
where `-n` - name of the worker
* start django-server `./manage.py rusnerver 0.0.0.0:8000`Api available at: `localhost:8000/api/v1/`
Docs available at: `localhost:8000/docs/`
## clientFor frontend you need to have:
* nodejsClient available at: `localhost:3000/`
Actions to run cliento
* go to client `cd client`
* setup project `npm install`
* start project `gulp watch`