-
Notifications
You must be signed in to change notification settings - Fork 7
Setup and usage
Simone Giannecchini edited this page May 13, 2024
·
10 revisions
Navigate in a directory and clone the repository
git clone https://github.com/geosolutions-it/digital-twin-toolbox
Navigate in the cloned digital-twin-toolbox
repository
cd ./digital-twin-toolbox
Copy the .env.sample
and rename it to .env
, this file include the default variable to initialize the application
Start the application with
docker compose up
After the docker containers are running is possible to access the client at: http://locahost:3000
name | description | default |
---|---|---|
DEVELOPMENT | if true enable the watch listener to rebuild the client and server on file changes |
false |
NGINX_PORT | the webapp port | 3000 |
POSTGRES_USER | postgres user | postgres |
POSTGRES_PASSWORD | postgres password | postgres |
POSTGRES_DB | postgres database | postgres |
POSTGRES_HOST_AUTH_METHOD | trust method is needed to work with pg2b3dm library |
trust |