Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.31 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.31 KB
Conta-me Histórias
This repository contains the source code of the user interface of conta-me historias.

Web application

Python

The conta-me historias web application depends on:

  • the front-end user interface (this repository)
  • the back-end API to retrieve data

The user interface will not work properly without the back-end API. See API for instructions on how to run the back-end server.

Setup

It is recommended to setup a virtual environment.

Install requirements

$ pip install -r requirements.txt

Run server

Directly from python

$ python run.py

or through Gunicorn

$ sh run.sh

Run celery worker

$ celery -A run:celery worker --loglevel=info