https://github.com/peterj/web-app
https://github.com/peterj/web-app
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/peterj/web-app
- Owner: peterj
- Created: 2020-09-25T18:16:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T14:12:25.000Z (over 5 years ago)
- Last Synced: 2025-01-25T04:43:30.765Z (over 1 year ago)
- Language: JavaScript
- Size: 43.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Install Node and Git:
```
sudo yum install -y git
sudo yum install -y oracle-nodejs-release-el7 oracle-release-el7
sudo yum install -y --disablerepo=ol7_developer_EPEL nodejs
sudo systemctl stop firewalld
sudo systemctl disable firewalld
```
Clone the repo and run on the server with:
```
git clone https://github.com/peterj/web-app
cd webapp
sudo npm install nodemon -D
sudo PORT=80 npm run start:dev
```
Make sure you open up the firewall and add the ingress rule to the security list.
## Environment variables
| Name | Default value |
| --- | --- |
|PORT | 8080 |
| LB_COOKIE_NAME | oci-lb-cookie |