Python #14
How to install and run:
- git clone https://github.com/ingwiz/rebrain-py14
- cd rebrain-py14/
- python3 -m venv .venv
- source .venv/bin/activate
- pip3 install -r requirements.txt
- cd config
- python3 make_project_secret_key.py > config/project_secret_key.py
- python3 manage.py migrate --run-syncdb
- python3 manage.py createsuperuser (Optional)
- python3 manage.py runserver
- enter the following addresses in the browser's address bar
- http://127.0.0.1:8000/api/servers/add
- http://127.0.0.1:8000/api/servers/
- http://127.0.0.1:8000/api/servers/status
To exit from venv
mode enter deactivate
command