Skip to content

Commit 1dfc636

Browse files
committed
Update readme
1 parent 8aef53a commit 1dfc636

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,17 @@ Consultations sits below [Varnish](https://github.com/nhsevidence/varnish) so is
117117
## Set up
118118
1. Install [KDiff](http://kdiff3.sourceforge.net/) to be able see diffs from integration tests
119119
2. Install [SQL Server](https://www.microsoft.com/sql-server) and [SQL Server Management Studio (SSMS)](https://docs.microsoft.com/sql/ssms/download-sql-server-management-studio-ssms)
120-
3. Restore Consultations database in SSMS and copy database connection string
121-
4. Clone the project `git clone git@github.com:nhsevidence/consultations.git`
122-
5. Open *Consultations.sln*
123-
6. Paste database connection string into DefaultConnection in secrets.json file
124-
7. Press F5 to run the project in debug mode
125-
8. Dependencies will download (npm and NuGet) so be patient on first run
126-
9. The app will run in IIS Express on http://localhost:52679/
127-
10. cd into *consultations\Comments\ClientApp* and run `npm start` if Startup is using `UseProxyToSpaDevelopmentServer`. This runs a react dev server on http://localhost:3000/.
128-
11. Run `npm test` in a separate window to run client side tests in watch mode
120+
3. Install [Redis](https://redis.io/) and make sure it is running.
121+
4. Add 127.0.0.1 niceorg to your hosts file
122+
5. Restore Consultations database in SSMS and copy database connection string
123+
6. Clone the project `git clone git@github.com:nhsevidence/consultations.git`
124+
7. Open *Consultations.sln*
125+
8. Paste database connection string into DefaultConnection in secrets.json file
126+
9. Press F5 to run the project in debug mode
127+
10. Dependencies will download (npm and NuGet) so be patient on first run
128+
11. The app will run in IIS Express on http://localhost:52679/
129+
12. cd into *consultations\Comments\ClientApp* and run `npm start` if Startup is using `UseProxyToSpaDevelopmentServer`. This runs a react dev server on http://localhost:3000/.
130+
13. Run `npm test` in a separate window to run client side tests in watch mode
129131

130132
### Gotchas
131133
- `spa.UseReactDevelopmentServer` can be slow so try using `spa.UseProxyToSpaDevelopmentServer("http://localhost:3000");` instead within [Startup.cs](Comments/Startup.cs).
@@ -167,4 +169,3 @@ To update the database
167169
</a>
168170

169171
We're using BrowserStack's support of open source projects for our day-to-day cross-browser and cross-device testing, and as part of an automated CI environment. <a href="https://www.browserstack.com/open-source">See their support for open source projects</a>.
170-

0 commit comments

Comments
 (0)