Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.26 KB

Graygram

Build Status Documentation Status

The backend server application for Graygram. Written in Python 2.7 and Flask.

Development

$ python setup.py develop
$ python manage.py -c YOUR_CONFIGURATION_FILE db upgrade
$ python manage.py -c YOUR_CONFIGURATION_FILE runserver

Graygram uses subdomain for its API host. I'd recommend you to add following to your /etc/hosts file.

127.0.0.1    graygram.local
127.0.0.1    www.graygram.local
127.0.0.1    api.graygram.local
127.0.0.1    usercontent.graygram.local

Then you'll be able to send a request to your local server: http://api.graygram.local:5000

Testing

$ pytest

Documentation

$ cd docs
$ make clean html
$ open build/html/index.html

Deployment

Graygram is being served on Heroku.

License

Graygram is under MIT license. See the LICENSE file for more info.