git clone https://github.com/hicommonwealth/commonwealth.git
cd commonwealth
pnpm install
cp .env.example .env
docker-compose up -d
pnpm migrate-db
pnpm run start
The API server runs on http://localhost:3000/ and you can test it by making a request to http://localhost:3000/api/health. It should respond with
{
"status": "ok"
}
The client is served from http://localhost:8080/.
Some features of the application require additional API keys. While the app will still function without them, certain functionalities may be limited.
Required for openAI image generation:
Required for chain features on EVM chains (groups, stake, contests):
Ensure these keys are set up in your environment variables to fully utilize all features of the application.
pnpm start-all
pnpm start-apps
pnpm start-rmq
pnpm start-all
command to get a fully functional app.pnpm start-redis
REDIS_URL=redis://localhost:6379
in your .env file pnpm load-db [optional-dump-name]
latest.dump
or the optional-dump-name
into the databasecommonwealth
and chain-events
packages