Skip to content

Latest commit

 

History

History
85 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

85 lines (50 loc) · 1.37 KB

PS Datastore GUI

This repo allows you to install a GUI to visualize the data stored in your local emulated datastore

Requirement

Getting started

Launch

docker-compose up -d

Then by default, you can access to the GUI by visiting http://localhost:3000

Configuration

Default configuration

If you don't create a .env file, default env is :

DATASTORE_PROJECT_ID=project-test

DATASTORE_PORT=8081
DATASTORE_LISTEN_ADDRESS=0.0.0.0:8081

GUI_PORT=3000

Change GUI port

Add in .env:

GUI_PORT=1234

Change Datastore port

You need to set same port on

Add in .env:

DATASTORE_LISTEN_ADDRESS="0.0.0.0:4321"
DATASTORE_PORT=4321

Change Datastore project id

Add in .env:

DATASTORE_PROJECT_ID="my-project"

Import your data's

Export you data's

You need to go to your Datastore and export your data's in your Cloud Storage

After download you file, you need to add it in "imports" directory

Run import script

docker exec -it datastore sh
./imports.sh

Troubleshooting

Env variables doesn't change ? You need to rebuild your container

docker-compose down -v && docker-compose up -d --build