Skip to content

rafaelcassau/stored-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • An activated python virtualenv.
  • mongodb installed and running.

Virtualenv installation/activation example:

pip install virtualenv
virtualenv cep_api_env
source cep_api_env/bin/activate

MongoDB installation/running example to debian distributions:

sudo apt-get install mongodb
sudo service mongodb start

After installation all of the above requirements:

Installing the project

Clone the repository and install it:

git clone https://github.com/rafaelcassau/cep_api.git

Go to /cep_api directory:

cd cep_api

Run the following command:

make install

After installling

After installing the app, edit the config.py file with information about your mongodb running instance

MONGO_HOST = 'your localhost address'
MONGO_PORT = 'your mongodb port'
MONGO_DBNAME = 'your database name'

Running

Running the application:

make run

WARNING: before running the tests is need start the application.

Testing

Running tests:

make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published