Bug 856275
Summary: | Nodejs cartridge self-documentation - Request to add enough data to enable users to test the sample apps locally | ||
---|---|---|---|
Product: | OKD | Reporter: | Nam Duong <nduong> |
Component: | Containers | Assignee: | Ram Ranganathan <ramr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | dmace, jhou, jofernan, mfisher, pruan, ramr |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-06 18:50:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nam Duong
2012-09-11 15:35:08 UTC
Fixed with pull request: https://github.com/openshift/crankcase/pull/529 Waiting on merge. Verified on devenv_2242 Steps: 1. Create a nodejs app 2. In app's local repo, check npm_global_module_list and README files in npm_global_module_list, there are a list of modules and instructions for getting module versions in README, there is a instruction to setup application locally 3. Follow the instruction to setup app locally. 4. Start app, and check app is running locally node server.js curl 127.0.0.1:8080 Result: App is setup and run locally .......................... <h1> Welcome to OpenShift </h1> <p> Place your application here </p> <p> In order to commit to your new project, go to your projects git repo (created with the rhc app create command). Make your changes, then run: </p> <pre> ........................... verified on devenv_2236 it's not fesible to have do #2. |