init templates for js Projects
Clone or download
Latest commit a493bbc Jul 12, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build adding require.js Jul 13, 2013
components check if user exist Jun 26, 2013
libs fix grunt errors Jun 17, 2013
public adding require.js Jul 13, 2013
src/client adding require.js Jul 13, 2013
.gitignore pckage.json and ignoring node_modules Mar 23, 2013
Gruntfile.js adding require.js Jul 13, 2013
config.json adding config May 9, 2013
package.json adding require.js Jul 13, 2013
readme.md Update readme.md Jul 11, 2014
routes.js adding dummy component Jun 19, 2013
sampleUsers.db adding CRUD and some little fixes Jun 1, 2013
server.js adding db clients for components initialization Mar 27, 2013

readme.md

Initial Template for App development with JavaScript in node.js

Init

Init is a customizable set of templates for several technologies in JavaScript, including:

How to Use It

First we create our repository (or we use our existing ones)

git init

Next lets add a git remote with the init repo

git remote add init git://github.com/picanteverde/init.git

After that we pull the branches we need for example to have the latest version of the user manager

git pull init usermanager

now you can start your application with a working environment

Removing the init repo

If you want you can delete the init remote

git remote remove init

Starting the server

To start the init application (you need node and npm) just do a

npm install
node server

on the base folder

Pushing your app to Heroku

If you want to see your application working on Heroku pull the heroku-webprocess branch

git pull init heroku-webprocesss

now, with the heroku Toolbelt installed create the heroku app

heroku create

For the next step make sure you added your .ssh pub key to your heroku account

git push heroku master

you will be notified with the url of your app running on heroku cedar stack