A web platform to support decision-making on the theme of urban resilience.
VSCode + Volar (and disable Vetur).
Before you begin, ensure you have the following installed on your machine:
- Set .env file
- change the hostnames of the DB and the Server to localhost, if you are going to develop and run the two node apps without docker
- Get DB running
- start the postgis database on your local computer, preferrably via docker using the following command:
docker compose up db -d --build
- start the postgis database on your local computer, preferrably via docker using the following command:
- Start the two node apps locally:
- go to the
dev
folder and usenpm run dev
to start the frontend, go to theserver
folder and usenpm start
to use the server.
- go to the
- Set .env file:
- change the hostnames of the DB to artur-db and of the server to artur-server
-
change vite.config.ts and db.js, delete
dotenv.config({ path: "../.env" });
-
Start the services:
- start the services with
docker compose up -d --build