git clone git@github.com:ASCS-eV/envited-x-data-space.git
git fetch origin # get new branches
git status # check branch
git pull # update current branch
From the root directory run:
nvm ls # show installed node versions
nvm use VERSION # >= 18.20.2
node --version
npm install --legacy-peer-deps # due to dependencies
The local database schema may change so you have to make sure to clean up by removing existing container and images just to be sure:
docker container ls --all
docker container remove envited
docker image ls
docker image remove postgres
At first you need to create a docker container. The only thing we need is the individual connection string of a running postgres db. For example by using Docker, when running the Docker instance with the following example values:
docker run --name envited -p 5436:5432 \
-e POSTGRES_DB=envited \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=123456 \
postgres
The connection string will in this case look like this:
postgres://admin:123456@localhost:5436/envited
If you have completed the setup of the docker container before you can start it and check if the envited container is running:
docker start envited
docker container ls
In apps/envited.ascs.digital
rename .env.example
to .env.development
and fill out the required values.
npx nx test envited.ascs.digital —watch
To start the development server run:
npx nx serve envited.ascs.digital
Open your browser and navigate to http://localhost:4200/
Happy coding!
The ENVITED-X Data Space is still experimental and has no main deployment yet.
trust anchor did: 'tz1YeiPapCiHfpwVcEUjMaSC3TDh9iMzkAKr'
trust anchor uuid: 'urn:uuid:0ec57c66-8b78-11ee-b9d1-0242ac120002'
contractAddress: ''
The staging branch is deployed on Tezos Ghostnet using the following information:
test account did: 'tz1KobLotv3nAgLJ65pyF8z1a3USbkqNeb4P'
contractAddress: 'KT1XC2fTBNqoafnrhEb7TuToRCzewgbHAhnA'