You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,15 +117,17 @@ Consultations sits below [Varnish](https://github.com/nhsevidence/varnish) so is
117
117
## Set up
118
118
1. Install [KDiff](http://kdiff3.sourceforge.net/) to be able see diffs from integration tests
119
119
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
129
131
130
132
### Gotchas
131
133
-`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
167
169
</a>
168
170
169
171
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. <ahref="https://www.browserstack.com/open-source">See their support for open source projects</a>.
0 commit comments