Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added gulp build to README #118

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ This folder contains the source code of the devSwag website (hosted at http://de
```
npm install gulp-cli -g
```
1. Open a terminal in the `swag-for-dev/site` directory. Type
1. Open a terminal in the `swag-for-dev/site` directory. To install the dependencies, type
```
npm install
```
into the terminal to install the dependencies. To start the webserver, type
To build the webserver, type
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not build the webserver but the website.

```
gulp
gulp build
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This build command is not needed. Calling only gulp will build the assets and serve it through a webserver. Calling gulp build will only build the assets, it does a production build.

```
To start the webserver, type
```
gulp
```
1. The website should open in a browser after it compiles, or you can view it by going to http://localhost:8000