https://github.com/vanng822/appskeleton
structure for site: nodejs, expressjs, pstarter, ejs, restify, rlock, redis
https://github.com/vanng822/appskeleton
Last synced: 2 months ago
JSON representation
structure for site: nodejs, expressjs, pstarter, ejs, restify, rlock, redis
- Host: GitHub
- URL: https://github.com/vanng822/appskeleton
- Owner: vanng822
- License: mit
- Created: 2013-04-13T18:02:27.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-08-30T06:37:10.000Z (almost 12 years ago)
- Last Synced: 2025-12-26T11:43:17.504Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 572 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Why
I do this every time and get tired of it.
## Usage
cd TO_APP_SKELETON
chmod u+x skeleton.sh
./skeleton.sh /path/to/your_app_name your_app_name
## adding files to git as well
./skeleton.sh /path/to/your_app_name your_app_name add-git
## To run
cd /path/to/your_app_name
node your_app_name.js NODE_ENV=development
#node your_app_name.js NODE_ENV=production
## open in webbrowser http://127.0.0.1:3000/
## Issues/Notes
* Need to create img/dist, css/dist js/dist and give permissions to user that runs application, ie ww-data
* Need to configure etc/init.d/APP_NAME for production if using linux such as Ubuntu. See https://github.com/vanng822/pstarter#start-with-init-script-on-ubuntu