New Mac Install
Setup docker
Download docker - https://www.docker.com/products/docker-desktop/
Get docker desktop env is setup Launch Click the settings icon

Verify you have correct resources allocated.
I have 8GB ram, so I have set men to be 5GB, recommendation to not set it lower than 4BG.
If you have 16GB, recommend to set men to 8GB then

Next select docker engine and change experimental from false to true

Finally, select Experimental features and check both the options

Unless you just installed docker, ensure it is the latest verion

Then click Apply and restart
Setup command line tools
Open terminal and type git



Start setting up your powr codebase.
Open terminal
Run: git clone https://gitlab.com/powr/powr-cli.git ~/dev/cli && cd ~/dev/cli && make install
You will see this prompt:
Enter your GitHub usernameHere is my example: https://github.com/Praneeta

Then it will ask for your GitHub token: Go generate it https://github.com/settings/tokens
Add a name that you will easily remember like POWR computerSet expiration to 1 year - ideally shorter
Select following scopes:
repo, workflow, write:packages, delete:packages
For the very first time you run your dev env in POWR - you will need to type docker-compose up because docker + node command doesn’t work well.
NOTE: If you are running M1 or arm64 machine, then run cd ~/dev/powr/ && make
If things are going well, you’ll see the tables being created and some migrations running and the if you click back and forth between volumes, size of powr_dbdata will be increasing - here it’s 8kb to begin with

It will get to around 1.3GB and keep growing when it’s successful

If you get the following error in your powr web
can you stop docker-composeÂ
Then you should make sure that local Postgres is stopped, along with local redis with: brew services stop postresql && brew services stop redis
and Then run powr dev:up
Now make sure that db volume is roughly 7Gb, and if not, then run make command again in the repo root ~/dev/powr.
When all this runs successful, run powr dev:up
After all being successfull and you're able to reach localhost:3000 in your browser. You could then use powr dev:up command as it will faster bring up the project than make.