- Create/login to Heroku Account (signing up is free)
- Download the Heroku CLI (download bundles)
- Type in the command line
heroku login
- Clone annotate-flask repository
git clone https://github.com/dnoneill/annotate-flask.git
- Create a virtual environment with python
- Install dependencies
pip install -r requirements.txt
- Go to your GitHub account
- Navigate to the Settings page
- Click on Developer settings.
- Click on the person access tokens tab
- Create a token with write access and copy the token
- Open the settings.py file
- add token to
github_token
line - Fill in rest of settings file
-
In the annotate-flask repository create heroku application
heroku create <heroku-app-name>
- Go to heroku dashboard https://dashboard.heroku.com/apps/. The application should show as deployed
- Open _config.yml file in Jekyll site
-
change
api_server
to heroku server domainapi_server: <heroku domain>/annotations/
- Push to GitHub
- Create annotations in GitHub pages