Skip to content

Commit

Permalink
Fixing http-server parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
scar45 committed Apr 2, 2017
1 parent 92257e1 commit 1736c81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ Most are straight forward, however note that the ```icon``` should be a file in

## Running this startpage

#### Locally without any server
- **Caveats:** Cookie and weather support is not included
- [Download the latest release](https://github.com/scar45/retro-crt-startpage/releases)
- Extract the .zip and rename ```links.dist.json``` to ```links.json```
- Edit ```links.json``` to contain the links you desire
- Open ```index.html``` with your preferred browser

#### Traditional web server
- Apache, nginx, IIS, etc.
- [Download the latest release](https://github.com/scar45/retro-crt-startpage/releases)
Expand All @@ -66,6 +59,7 @@ Most are straight forward, however note that the ```icon``` should be a file in
- ```npm start```
- Then browse to ```http://127.0.0.1:8080```
- If you wish, you can modify the ```scripts: {start}``` node in ```package.json``` to pass [extra parameters](https://www.npmjs.com/package/http-server) to ```http-server``` which allows you to run on a different port, use SSL, etc.
- Press ```CTRL+C``` to stop the server

## Developing

Expand Down Expand Up @@ -94,7 +88,7 @@ This will dump compiled/processed files in a ./build directory, which will then

### Releasing

Run ```gulp``` with a parameter of ```release``` which will clean the ```./build``` directory, recompile all sources fresh, exclude unneeded files, and write a .zip file to ```dist/```:
Run ```gulp``` with a parameter of ```release``` to clean the ```./build``` directory, recompile all sources fresh, exclude unneeded files, and write a .zip file to ```dist/```:

```
gulp release
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"George Merlocco <george@merloc.co>"
],
"scripts": {
"start": "./node_modules/http-server/bin/http-server"
"start": "./node_modules/http-server/bin/http-server -- build"
},
"private": true,
"license": "MIT",
Expand All @@ -17,7 +17,7 @@
},
"bugs": {
"url": "https://github.com/scar45/retro-crt-startpage/issues",
"email": "hello@scar45.me"
"email": "george@merloc.co"
},
"devDependencies": {
"browser-sync": "^2.18.8",
Expand Down

0 comments on commit 1736c81

Please sign in to comment.