Skip to content

Commit

Permalink
Change init to first-time
Browse files Browse the repository at this point in the history
  • Loading branch information
Berkeley Martinez authored and Berkeley Martinez committed Oct 22, 2015
1 parent 61715da commit b85826a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mongod
# Initialize Free Code Camp
# This will seed the database for the first time.
# This command should only be run once.
npm run init
npm run first-time

# start the application
gulp
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"url": "https://github.com/freecodecamp/freecodecamp.git"
},
"scripts": {
"init": "npm run create-rev && echo '\n\nseeding database\n\n' && node seed && node seed/nonprofits",
"create-rev": "test ! -e server/rev-manifest.json && echo 'creating manifest' && touch server/rev-manifest.json && echo '{}' >> server/rev-manifest.json",
"first-time": "npm run create-rev && echo '\n\nseeding database\n\n' && node seed && node seed/nonprofits",
"create-rev": "test ! -e server/rev-manifest.json && echo '\n\ncreating manifest\n\n' && touch server/rev-manifest.json && echo '{}' >> server/rev-manifest.json",
"build": "gulp build",
"start": "babel-node server/server.js",
"prestart-production": "bower cache clean && bower install && gulp build",
Expand Down

0 comments on commit b85826a

Please sign in to comment.