Skip to content

Commit 7eb8290

Browse files
committed
update python template
1 parent 25655cf commit 7eb8290

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,18 @@ Follow tutorial [Deploying Full Stack React App to Heroku](https://jojozhuang.gi
4040
Follow tutorial [Continuously Deploy Full Stack React App to Heroku and Netlify with Travis-CI](https://jojozhuang.github.io/tutorial/continuously-deploy-full-stack-react-app-to-heroku-and-netlify-with-travis-ci) to continuously deploy this Full Stack app to Heroku(RESTful API) and Netlify(Frontend React).
4141

4242
## Upgrade eo heorku20
43+
Server.
4344
```sh
45+
cd code-editor-react
46+
heroku login
47+
heroku git:remote -a code-editor-api
48+
git commit --allow-empty -m "Upgrading to heroku-20"
49+
git push heroku master
50+
```
51+
52+
Client.
53+
```sh
54+
cd code-editor-react
4455
heroku login
4556
heroku git:remote -a code-editor-react
4657
git commit --allow-empty -m "Upgrading to heroku-20"

src/server/templates/Hello.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print "Hello, Python!"
1+
print("Hello, Python!")

0 commit comments

Comments
 (0)