Skip to content

Commit

Permalink
FIX Fix local statup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
IlliaHalchun committed Dec 19, 2023
1 parent f083b58 commit 17477cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion back-end/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Once you can run tests of the solutions, it's time to spin off a database and ru
2. [download](https://ravendb.net/download) and install locally for your OS or Docker.
2. Create a new database on the _RavenDB_ server ([see the docs](https://ravendb.net/docs/article-page/latest/csharp/studio/server/databases/create-new-database/general-flow)).
3. Import test data from `/documentation/exported_data.ravendbdump` file ([see the docs](https://ravendb.net/docs/article-page/latest/csharp/studio/database/tasks/import-data/import-data-file))
4. Set the address to the _RavenDB_ server and the DB name in `./back-end/WebApi/appsettings.Development.json`.
4. Set the DbName and put your database server url in the RavenDbUrls array in `./back-end/WebApi/appsettings.Development.json`.
2. Launch the solution (the `WebAPI` project).
3. Open `https://localhost:5001/swagger` in the browser.

Expand Down
1 change: 1 addition & 0 deletions back-end/WebApi/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Database": {
"RavenDbUrls": [ "https://xxx.ravendb.cloud" ],
"UpdateIndexes": true,
"DbName": "Yabt2"
},
Expand Down
2 changes: 1 addition & 1 deletion front-end/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
To run it locally, you need:

1. Install the latest LTS versions of [Node.js](https://nodejs.org).
2. Open `front-end` folder and initialize the project by running `npm i` command.
2. Open `front-end` folder and initialize the project by running `npm i --legacy-peer-deps` command.
3. Build and run by `npm start`.

It will run the Angular app in a dev mode pointing to the back-end at `https://localhost:5001`.

0 comments on commit 17477cc

Please sign in to comment.