Created
July 13, 2018 21:55
-
-
Save previtus/191869cafad9d8578ea3b68b375d4838 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# link https://github.com/platanus/openface-api | |
(had this before) | |
(installed docker) | |
docker pull bamos/openface | |
git clone https://github.com/platanus/openface-api.git | |
cd openface-api | |
git init | |
git add --all | |
git commit -m "init" | |
(test 'docker ps', nothing there, and 'heroku login') | |
heroku container:login | |
(Login Succeeded) | |
heroku apps:create your-app-name | |
heroku container:push web | |
# careful, if you were on Windows, this can be messy - you need to change line endings of all .sh files, including the Dockerfile | |
heroku container:release web | |
# change to GET with | |
# img1 = request.args.get("img1") | |
heroku open | |
#heroku run bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment