Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

wisestudios-com-br/GetJob_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetJob_API

Back-end for the GetJob project

Implementation

Requirements

  • python3
  • python-virtualenv
  • python-pip

Install

In your terminal(Linux):

  1. Create a VirtualEnv:
$ virtualenv GetJob_API/
  1. Navigate into it:
$ cd GetJob_API/
  1. Activate the env source to your terminal:
$ source bin/activate
  1. Clone the repository:
$ git clone https://github.com/wisestudios-com-br/GetJob_API.git
  1. Navigate into the project folder:
$ cd GetJob_API/
  1. Install the requirements:
$ pip install -r requirements.txt

Observation

This project use TAB(not space) of the size 4.

Usage

In your terminal, and inside the project folder:

  1. Navigate to the src folder:
$ cd src/
  1. 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__

Releases

No releases published

Packages

No packages published

Languages