https://github.com/redhataccess/dplanner
https://github.com/redhataccess/dplanner
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhataccess/dplanner
- Owner: redhataccess
- Created: 2016-08-12T15:19:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-15T14:48:41.000Z (almost 10 years ago)
- Last Synced: 2026-01-03T17:16:11.795Z (6 months ago)
- Language: JavaScript
- Size: 774 KB
- Stars: 0
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ITOS Setup
rhc app create -g int_hosted_medium -a dplanner -n subeng https://raw.githubusercontent.com/icflorescu/openshift-cartridge-nodejs/master/metadata/manifest.yml
### Manually starting node in prod
node --es_staging --harmony --harmony_shipping src/server/server-prod.js
forever start -a -l /dev/null -c \"node --es_staging --harmony --harmony_shipping\" src/server/server-prod.js
## Local development
accessproxy
npm run start-dev
http://prod.foo.redhat.com:1337/labs/dplanner
Make sure in .git/config to add a remote for itos for pushing.
[remote "itos"]
url = ssh://@dplanner-subeng.itos.redhat.com/~/git/dplanner.git/
fetch = +refs/heads/*:refs/remotes/origin/*
This will allow you push to ITOS:
npm run build
gg c Prod build
git push itos master
Note that the resource limitations of ITOS makes it a headache to build on the gear itself. This either must be done in
a CI env or be done locally and pushed up.
## Local development (prod)
npm run build
npm run start-prod
https://foo.redhat.com/labs/dplanner