Back-end for the GetJob project
- python3
- python-virtualenv
- python-pip
In your terminal(Linux):
- Create a VirtualEnv:
$ virtualenv GetJob_API/
- Navigate into it:
$ cd GetJob_API/
- Activate the env source to your terminal:
$ source bin/activate
- Clone the repository:
$ git clone https://github.com/wisestudios-com-br/GetJob_API.git
- Navigate into the project folder:
$ cd GetJob_API/
- Install the requirements:
$ pip install -r requirements.txt
This project use TAB(not space) of the size 4.
In your terminal, and inside the project folder:
- Navigate to the src folder:
$ cd src/
- Start the hug server:
$ hug -f app.py
Or, in case of production:
$ gunicorn app:__hug_wsgi__
Or, if you have SLL:
$ gunicorn --certfile=server.crt --keyfile=server.key app:__hug_wsgi__