Skip to content

Commit 22394ec

Browse files
committed
Merge branch 'main' of github.com:ft-interactive/business-book-award
2 parents d776de2 + 376457c commit 22394ec

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
Business book of the year award
22
===============================
33

4-
## In development:
4+
## In development
5+
6+
If you don't already have gulp and foreman installed on your machine, run the below in your terminal.
7+
```
8+
$ npm install --global gulp-cli
9+
$ npm install -g foreman
10+
11+
```
12+
13+
If you already have these packages installed, you can skip to the below:
514

615
```
716
$ npm install
@@ -17,11 +26,13 @@ Go to http://localhost:3000
1726
If you see a page with content but no styling, try running 'gulp' in a third terminal tab and refresh.
1827

1928

20-
## See changes on your local host:
29+
## See changes on your local host
30+
31+
When you make changes within your code, they are not directly rendered on your local host as a consequence of a cached version of the site existing. To avoid this in the terminal, run:
2132

2233
```
2334
$ gulp
2435
2536
```
2637

27-
Within the views/layout.html file, update the query string on the link tag of the main.css or script tag of the main.bundle.js, depending on changes implemented.
38+
Then within the views/layout.html file, update the query string (ex/ ?v=1) on the link tag of the main.css or script tag of the main.bundle.js, depending on changes implemented. By adding the query string, we are able to re-render our application without seeing the cached version of it.

0 commit comments

Comments
 (0)