https://github.com/devxoul/graygram-web
https://github.com/devxoul/graygram-web
alembic flask python sphinx sqlalchemy
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devxoul/graygram-web
- Owner: devxoul
- License: mit
- Created: 2017-01-19T17:06:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-19T19:43:08.000Z (almost 9 years ago)
- Last Synced: 2025-03-25T04:51:55.536Z (9 months ago)
- Topics: alembic, flask, python, sphinx, sqlalchemy
- Language: Python
- Homepage: https://www.graygram.com
- Size: 262 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Graygram
[](https://travis-ci.org/devxoul/graygram-web)
[](http://graygram.readthedocs.io/en/latest/?badge=latest)
The backend server application for [Graygram](https://www.graygram.com). Written in Python 2.7 and Flask.
* [Documentation](http://graygram.readthedocs.io/en/latest/)
* [Graygram for iOS](https://github.com/devxoul/graygram-ios)
## Development
```console
$ 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
```console
$ pytest
```
## Documentation
```console
$ 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](LICENSE) file for more info.