Skip to content
forked from ryanj/http-base

basic http server for nodejs with static files

Notifications You must be signed in to change notification settings

famer/http-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-base Build Status Dependency Check

A basic HTTP example repo for nodejs, inspired by Raynos/http-framework

Launch on OpenShift

To deploy a clone of this application using the rhc command line tool:

rhc app create httpbase nodejs-0.10 --from-code=https://github.com/ryanj/http-base.git

Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:

https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=nodejs-0.10&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Fhttp-base.git

Local Development

Install dependencies:

npm install

Start a local server:

npm start

Docker

To run the related docker image:

docker pull ryanj/http-base
docker run -d -p 8080:8080 -e "HOSTNAME=localhost" -e "APP_NAME=app_name" ryanj/http-base

License

This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)

About

basic http server for nodejs with static files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 79.8%
  • JavaScript 20.2%