Skip to content

devxoul/graygram-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.