You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
androiddrew 7636164ea1 Corrected README typo and License 7 years ago
news Updated models, fixed commits, added env variable for DB connection 7 years ago
scripts Level up to Apistar 0.5.4 without tests 7 years ago
tests Level up to Apistar 0.5.4 without tests 7 years ago
.flake8 Level up to Apistar 0.5.4 without tests 7 years ago
.gitignore Updated models, fixed commits, added env variable for DB connection 7 years ago
HISTORY.md Level up to Apistar 0.5.4 without tests 7 years ago
LICENSE Initial Commit 8 years ago
README.md Corrected README typo and License 7 years ago
dev_requirements.in Level up to Apistar 0.5.4 without tests 7 years ago
dev_requirements.txt Level up to Apistar 0.5.4 without tests 7 years ago
requirements.in Level up to Apistar 0.5.4 without tests 7 years ago
requirements.txt Merge branch 'develop' for v0.2.0 7 years ago
setup.py Corrected README typo and License 7 years ago

README.md

news

A ReSTful api for storing and retrieving news articles

Pip tools

This project uses pip-tools for developement. Reference the project page for usage instructions.

DB Connection

The database connection string must be set using the NEWS_DB environmental variable.

$ export NEWS_DB=postgresql://apistar:local@localhost/news

Console Script

A console script is provided for testing via the Werkzueg development server.

$(env)wsgi_serve

Deployment

$(env) gunicorn -w 2 -b 0.0.0.0:8080 --chdir scripts/ wsgi_app:app