Setup Frontend

Local setup of the frontend

Prerequisites

    1.
    Installed docker & docker-compose
    2.
    Npm installed

Setup of the local instance of the Backend

    1.
    Download the repository:
1
$ git clone https://github.com/DistributedTown/distributed-town-backend.git
Copied!
2. Request .env file from the DistributedTown team (optionally run your own threadDB node) and place it in the main dir

Docker setup

    1.
    Run the docker-compose.yml file by running
1
$ docker-compose up -d
Copied!
2. Open http://localhost:3005/api/docs and you should be able to see the swagger API documentation

Setup of the local instance of the Frontend

    1.
    Download the repository:
1
$ git clone https://github.com/DistributedTown/distributed-town-frontend.git
Copied!
2. Request .env file from the DistributedTown team
3. Install dependencies
1
$ npm install
Copied!
4. Run the project
1
$ npm run dev
Copied!
Last modified 7mo ago