Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Fix local startup instructions #65

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

old deps etc. It doesn't build w/o it.

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`.
Loading