https://github.com/ishankhare07/wingify-challenge
repo for wingify challenge
https://github.com/ishankhare07/wingify-challenge
Last synced: 11 months ago
JSON representation
repo for wingify challenge
- Host: GitHub
- URL: https://github.com/ishankhare07/wingify-challenge
- Owner: ishankhare07
- Created: 2016-06-26T17:13:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-26T22:45:16.000Z (about 10 years ago)
- Last Synced: 2025-01-23T15:51:27.430Z (over 1 year ago)
- Language: Python
- Homepage: http://wingify-challenge.herokuapp.com/
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
For API docs please refer to the [wiki](https://github.com/ishankhare07/wingify-challenge/wiki)
### Setting up locally
1. Clone the repo
```
git clone git@github.com:ishankhare07/wingify-challenge.git
```
2. Create and activate a python virtual environment
```
pyvenv venv; . venv/bin/activate
```
3. Install dependencies
```
pip install -r requirements.txt
```
4. Set up a secret key. Current secret key setup is done as following:
```python
import os
import hashlib
hashlib.sha512(os.urandom(24).hexdigest()) # returns a hex string
```
> Note this key only needs to be generated once and set and environment variable. This has already been taken care of while deploying to heroku.
Next run `app.py`
```bash
python app.py
```