From 386206efbc784a668475994e5ed2a546b2178cc8 Mon Sep 17 00:00:00 2001 From: Akshay Gaikwad Date: Wed, 9 Mar 2022 11:02:58 +0530 Subject: [PATCH] Update Development setup steps --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 4351ddb..810ada1 100644 --- a/README.md +++ b/README.md @@ -116,3 +116,24 @@ migrate -path ./persistence/migrations/admindb -database "$POSTGRESQL_URL" up ``` See [cli-usage](https://github.com/golang-migrate/migrate#cli-usage) for more info. + +## Development setup + +Copy `env.example` to `.env`: + +``` +cp env.example .env +``` + +Run following Docker Compose command to setup all requirements like +Postgres db, Kratos etc. for the rcloud-base: + +``` +docker-compose up -d +``` + +Start rcloud-base server: + +``` +go run github.com/RafaySystems/rcloud-base +```