Change init to first-time
This commit is contained in:
@ -117,7 +117,7 @@ mongod
|
|||||||
# Initialize Free Code Camp
|
# Initialize Free Code Camp
|
||||||
# This will seed the database for the first time.
|
# This will seed the database for the first time.
|
||||||
# This command should only be run once.
|
# This command should only be run once.
|
||||||
npm run init
|
npm run first-time
|
||||||
|
|
||||||
# start the application
|
# start the application
|
||||||
gulp
|
gulp
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
"url": "https://github.com/freecodecamp/freecodecamp.git"
|
"url": "https://github.com/freecodecamp/freecodecamp.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"init": "npm run create-rev && echo '\n\nseeding database\n\n' && node seed && node seed/nonprofits",
|
"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 'creating manifest' && touch server/rev-manifest.json && echo '{}' >> server/rev-manifest.json",
|
"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",
|
"build": "gulp build",
|
||||||
"start": "babel-node server/server.js",
|
"start": "babel-node server/server.js",
|
||||||
"prestart-production": "bower cache clean && bower install && gulp build",
|
"prestart-production": "bower cache clean && bower install && gulp build",
|
||||||
|
Reference in New Issue
Block a user