1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 03:45:56 +00:00

got rid of the global dependence on gulp

This commit is contained in:
Lasse Borly
2016-09-18 03:51:20 +02:00
parent 7dc39e962b
commit 01e4e11ef7
2 changed files with 5 additions and 4 deletions

View File

@@ -7,9 +7,8 @@ Create authentic looking D&D homebrews using only markdown. Check it out [here](
1. Clone down the repo
1. In your terminal, head to the repo
1. Run `npm install` to get all the dependacies
2. Run `npm install -g gulp` to install the gulp build tool
1. Run `gulp fresh`, this will compile and build all the needed libraries (this only has to be done once, unless you add more libs)
1. Run `gulp` to run the project locally. Should be accessible at `localhost:8000`
1. Run `npm run build`, this will compile and build all the needed libraries (this only has to be done once, unless you add more libs)
1. Run `npm run watch` to run the project locally. Should be accessible at `localhost:8000`
2. Any changes to files within the proejct will be detected and the propject will automatically re-build
**Notes:** If you'd like to create and edit homebrews, you'll need to have MongoDB installed and running.
@@ -34,4 +33,4 @@ You can check out the changelog [here](https://github.com/stolksdorf/homebrewery
### license
This project licensed under [MIT](./license)
This project licensed under [MIT](./license)

View File

@@ -3,6 +3,8 @@
"description": "Create authentic looking D&D homebrews using only markdown",
"version": "2.3.0",
"scripts": {
"build": "node_modules/.bin/gulp fresh",
"watch": "node_modules/.bin/gulp",
"postinstall": "gulp prod",
"start": "node server.js"
},