Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 40 lines (34 sloc) 1.094 kb
1d7f618 Rob Righter inits
authored
1 #!/bin/sh
1b8341a Rob Righter Updated to jade
authored
2 echo "Creating necessary folders"
2beafb0 Rob Righter Updated to use the new version of socket.io
authored
3 mkdir ./static
dd91dc5 Daniel Jackoway get rid of all of the /project's in initproject.sh
jackowayed authored
4 mkdir ./static/images
5 mkdir ./static/css
2beafb0 Rob Righter Updated to use the new version of socket.io
authored
6 mkdir ./static/js
1b8341a Rob Righter Updated to jade
authored
7 mkdir ./views
8 mkdir ./models
cc42891 Chase Brammer Mocha test framework
cbrammer authored
9 mkdir ./test
98b9a9f Rob Righter Inits
authored
10
4fe5882 Rob Righter Added init script
authored
11 echo "Copying Markup and CSS BoilerPlate..."
1b8341a Rob Righter Updated to jade
authored
12 cp ./templates/app/server.js ./server.js
13a97e5 Rob Righter Setup package.json to use npm automated install. Also added .gitignore f...
authored
13 cp ./templates/app/package.json ./package.json
14 cp ./templates/app/.gitignore ./.gitignore
fe2808f Rob Righter dir structure simplification
authored
15 cp ./templates/app/config.json ./config.json
cc42891 Chase Brammer Mocha test framework
cbrammer authored
16 cp ./templates/app/Makefile ./Makefile
17 cp ./templates/test/stub.js ./test/stub.js
1b8341a Rob Righter Updated to jade
authored
18 curl https://raw.github.com/h5bp/html5-boilerplate/master/css/style.css > ./static/css/style.css
19 cp ./templates/views/500.jade ./views/500.jade
20 cp ./templates/views/404.jade ./views/404.jade
21 cp ./templates/views/index.jade ./views/index.jade
22 cp ./templates/views/layout.jade ./views/layout.jade
2beafb0 Rob Righter Updated to use the new version of socket.io
authored
23 cp ./templates/js/script.js ./static/js/script.js
24 # TODO copy over the models
1b8341a Rob Righter Updated to jade
authored
25
71554fd Tiny spelling mistake. Was making me cringe :P.
Jake McGinty authored
26 echo "Setting up the dependencies from NPM..."
13a97e5 Rob Righter Setup package.json to use npm automated install. Also added .gitignore f...
authored
27 npm install
4fe5882 Rob Righter Added init script
authored
28
29 echo "Removing the stuff you dont want..."
915253c Rob Righter Added readme file and rm's to init script
authored
30 rm -rf .git
2beafb0 Rob Righter Updated to use the new version of socket.io
authored
31 rm -rf templates
915253c Rob Righter Added readme file and rm's to init script
authored
32 rm README.md
3dafc2a Rob Righter updated initproject.sh
authored
33 rm -rf initproject.sh
4fe5882 Rob Righter Added init script
authored
34
35 echo "Initing the new git project..."
915253c Rob Righter Added readme file and rm's to init script
authored
36 git init
37 git add .
38 git commit -m"Initial Commit"
4fe5882 Rob Righter Added init script
authored
39
Something went wrong with that request. Please try again.