Skip to content

Commit 0575574

Browse files
committed
Bye.
1 parent 9e4835f commit 0575574

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

.dockerignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.git
22
.idea
3-
Dockerfile
3+
Dockerfile
4+
.travis.yml

.travis.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
language: python # this works for Linux but is an error on macOS or Windows
1+
language: python
2+
23
matrix:
34
include:
45
- name: "Python 3.7.1 on Xenial Linux"
@@ -7,16 +8,16 @@ matrix:
78
os: osx
89
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
910
language: shell # 'language: python' is an error on Travis CI macOS
10-
- name: "Python 3.7.4 on Windows"
11-
os: windows # Windows 10.0.17134 N/A Build 17134
12-
language: shell # 'language: python' is an error on Travis CI Windows
13-
before_install:
14-
- choco install python
15-
- python -m pip install --upgrade pip
16-
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
11+
1712
install:
18-
- pip3 install --upgrade pip # all three OSes agree about 'pip3'
13+
- pip3 install --upgrade pip # all OSes agree about 'pip3'
1914
- pip install -r requirements.txt
15+
2016
# 'python' points to Python 2.7 on macOS but points to Python 3.7 on Linux and Windows
21-
# 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
22-
script: python3 website.py || python website.py
17+
script: python3 website.py
18+
19+
deploy:
20+
provider: heroku
21+
api_key:
22+
secure: ff4d4762-ed92-4ac4-833f-7f75e44b875e
23+
app: identity-hub

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,6 @@
7171
* https://github.com/cs-ufm/linkmybio
7272
* https://cssgradient.io
7373
* https://www.youtube.com/watch?v=10SwsoYNkVc&t=1157s
74-
* https://devcenter.heroku.com/articles/container-registry-and-runtime
74+
* https://devcenter.heroku.com/articles/container-registry-and-runtime
75+
* https://testdriven.io/blog/deploying-flask-to-heroku-with-docker-and-gitlab/
76+
* image on docker hub: https://cloud.docker.com/repository/docker/armi/identity-hub

0 commit comments

Comments
 (0)