Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nvictus/23andcsb
- Owner: nvictus
- License: bsd-2-clause
- Created: 2013-12-30T19:38:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-25T06:04:01.000Z (almost 11 years ago)
- Last Synced: 2024-10-03T12:17:52.861Z (3 months ago)
- Language: Python
- Size: 332 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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
```