https://github.com/chocobn69/profamaster
https://github.com/chocobn69/profamaster
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chocobn69/profamaster
- Owner: chocobn69
- License: mit
- Created: 2018-06-30T19:13:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-03T09:45:38.000Z (over 6 years ago)
- Last Synced: 2024-10-12T00:37:42.103Z (8 months ago)
- Language: Python
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE.md
Awesome Lists containing this project
README
# profamaster
## How to start server
`make run CONFIG='config_file_path`
## Create dev environment
`make init`
## Install virtualenv
`make install`
## Run tests
`make test`
## Documentation
### Create systemd service
1. Edit `/lib/systemd/system/profamaster.service`
2. Reload systemd using command: `systemctl daemon-reload`
3. Enable auto start using command: `systemctl enable profamaster````
[Unit]
Description=Profamaster web server[Service]
Type=simple
ExecStart=pipenv run python start.py
WorkingDirectory=PATH_TO_PROFAMASTER[Install]
WantedBy=multi-user.target
```### Error codes
- 101 : unknown error
- 102 : unknown action