Skip to content

Installation

robwsc edited this page Mar 24, 2023 · 1 revision

Installation

It is heavily recommended to use Docker to run stratis. This is because stratis requires a number of dependencies that can be difficult to install.

Docker

To install Docker, follow the instructions here.

Once Docker is installed, you can run stratis by running the following commands:

# Clone the repository
git clone https://github.com/robswc/stratis

# Change directory to the repository
cd stratis

# Run the docker-compose file
docker-compose up -d # -d runs the containers in the background

The Stratis UI interface should now be accessible via:

http://localhost:3000

And the Stratis backend (core) should be accessible via:

http://localhost:8000.

Python and NPM

For more advanced usage, you can run app with python directly, as it is a FastAPI app under the hood. I would recommend using a virtual environment for this. You will also have to install the requirements. The following commands will start the backend of stratis.

cd app  # change directory to the app folder
python python -m uvicorn main:app --reload  # reloads the app on file changes (useful for development)

The frontend of stratis is a NextJS app. The repository for the frontend can be found here.

Clone this wiki locally