https://github.com/twogg-git/time-app
https://github.com/twogg-git/time-app
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/twogg-git/time-app
- Owner: twogg-git
- Created: 2022-06-05T20:12:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T06:04:39.000Z (about 4 years ago)
- Last Synced: 2025-03-23T02:01:53.899Z (about 1 year ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# time-app
https://twogg-timeapp.herokuapp.com/
Create image with:
```ssh
docker build --tag timeapp:v1 .
```
Run with:
```ssh
docker run -d -p 80:80 --name timeapp timeapp:v1
```
Login to running container
```ssh
docker exec -ti --user root timeapp /bin/sh
```
Heroku deployment documentation:
- https://devcenter.heroku.com/articles/git#http-git-authentication
- https://devcenter.heroku.com/articles/deploying-nodejs
Heroku sets the PORT, so we have to bind and listens on tcp/80.
```ssh
const port = process.env.PORT || 80
```