Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nvictus/23andcsb

trying out the 23andMe API
https://github.com/nvictus/23andcsb

Last synced: 24 days ago
JSON representation

trying out the 23andMe API

Awesome Lists containing this project

README

        

23andCSB
========

Ready to deploy on Heroku.

First, create your app and push the repo:
```bash
$ heroku create
$ git push heroku master
```

After the slug is compiled and running, you will need to supply several environment variables using `heroku config`:
```bash
$ heroku config:set DEBUG=False
$ heroku config:set ENVIRONMENT='PRODUCTION'
$ heroku config:set SECRET_KEY=XXXX
```

These are the settings for the 23andMe API:
```bash
$ heroku config:set CLIENT_ID=XXXX
$ heroku config:set CLIENT_SECRET=XXXX
$ heroku config:set CALLBACK_URL="http://.herokuapp.com/auth/callback/"
```

Promote the database provided to the `DATABASE_URL` config var:
```bash
$ heroku pg:promote HEROKU_POSTGRESQL__URL
```

Initialize the database tables:
```bash
$ heroku run python manage.py syncdb
```