From 757fd287569b31414e6d209e4dc2dcad3e709a1f Mon Sep 17 00:00:00 2001 From: Markus Thielen Date: Wed, 5 Apr 2023 15:13:33 +0200 Subject: [PATCH] Updated README --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e830a2..2919314 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ systemctl postgresql reload This repository contains an already compiled SQL file that creates the database schema: ```sh -psql -U bb_todo bb_todo < bbconf/todo_datamodel.sql # Enter password when prompted. +psql -U bb_todo bb_todo < bbconf/bb_todo-datamodel.sql # Enter password when prompted. ``` The database configuration and installation is now complete. @@ -82,7 +82,7 @@ The database configuration and installation is now complete. If you're curious, you can recompile the GraphQL schema like so: ```sh -bin/bbconf --prefix=bb_todo -f todo_schema.graphql -o bbconf +basebox/bin/bbc --prefix=bb_todo -f vue-todo/bbconf/todo_schema.graphql -o vue-todo/bbconf ``` ### Client Installation @@ -137,6 +137,18 @@ cd ~/basebox/vue-todo npm run dev ``` -This will start a node.js based HTTP test server that will host the client application. It will print the URL where you can load it to the console. +This will start a node.js based HTTP test server that will host the client application. It will print the URL where you can load it to the console: + +``` + + VITE v4.1.4 ready in 273 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + ➜ press h to show help + +``` + +**Important Note**: If the URL you are seeing uses *localhost*, you have to edit broker's config file accordingly. The value you have to change is `redirect_url`; replace "127.0.0.1" with "localhost". Open your browser, go go the URL in the npm console, and enjoy.