Local Deployment

Sections :

  1. Hardware requirement

  2. Platform setup steps

  3. How to access the platform?

  4. How to stop the platform?

  5. Platform logs

In this setup, you can run the platform directly on your local machine. Please follow the below steps to complete your setup.

Note: We have tested the platform setup on Linux and Mac machines. If you encounter any issues during setup, please contact the Tokamak Rollup Hub team via discord.

Hardware Requirement

CPU
RAM
Storage

Minimum

2 vCPU

8

30

Recommended

4 vCPU

16

50

Excellent

8 vCPU

32

70

Platform Setup

1. Clone the repository

Open your terminal and execute the below command

2. Setup script and installing dependencies

a. Change permission of the dependency script.

b. Install the dependencies.

c. Setup config files.

You will then be prompted with questions in the terminal. Press Enter to use the default values or provide your own inputs.

Once you’ve entered all the required inputs, press Enter to complete the environment variables setup. Please refer to below screenshot.

d. Run the following command in your terminal to start your platform.

You should expect to see the following logs when you run the above command in the terminal.

3. How to access the platform?

a. After the successful installation, you can access the platform by navigating to http://localhost:3000/ in your browser.

b. Log in using the email ID and password you set during the config file setup in previous step.

4. How to stop the platform?

Run the following command to stop your platform. It won’t delete any deployed chain, and your chain will remain available when you restart the platform.

You will see the following logs when you run the above command.

5. How to check the platform logs?

Run the following command to check the logs.

Last updated