This project allows users to generate Substrate projects with selected pallets and download them as zip files or publish them to your github. The project uses the substrate-runtime-builder
crate to dynamically generate Substrate-based blockchain projects.
Before running this project, ensure that you have the following installed on your system:
git clone https://github.com/MVPWorkshop/ssk-substrate-playground
cd ssk-substrate-playground
cargo build
This will download all necessary dependencies, including actix-web, serde, and substrate-runtime-builder.
cargo install cargo-dotenv
To start the server, run:
cargo dotenv -e .env.local run
docker-compose up -d
The server will start at http://127.0.0.1:3000
. You should see the following message in the console:
Starting server at http://127.0.0.1:3000
The server is now running, and you can make API requests to generate and download Substrate projects.
You can access the swagger openapi UI at local, or latest_release