I’m looking forward to trying forest admin and am in the process of installing the admin backend locally using docker desktop on a win10 machine with a postgresql db running locally in a docker container.
I copied & pasted the cli commands from the guide in my account on your website and everything works fine until I get to step 4 which is the last step. That command is as follows and has 2 parts:
cd “my-project-name” && docker-compose up --build
Changing the directory fails because the folder doesn’t exist.
docker-compose fails because the config file doesn’t exist.
Step 2 works fine:
docker run --rm --init -it -v ~/.forest.d:/usr/src/cli/.forest.d -e TOKEN_PATH=“/usr/src/cli” forestadmin/toolbelt login
Step 3 works fine:
docker run --rm --init -it -v pwd
:/usr/src/app -v ~/.forest.d:/usr/src/cli/.forest.d -e TOKEN_PATH=“/usr/src/cli” forestadmin/toolbelt projects:create “my-project-name” --databaseConnectionURL “postgres://user:pwd@host.docker.internal:5432/dbname” --databaseSchema “public” --applicationHost “localhost” --applicationPort “3310”
The above step shows a bunch of files being created and upon completion says “√ Hooray, installation success!”.
But the files are nowhere to be found on my local machine. Where are the files? Where is the “my-project-name” folder and where is the docker-compose config file? How do I get the local admin backend running on a win10 machine with docker desktop & a postegresql db running locally in docker?
This is a template you must use to report issues.
You can also drag images, videos and includePreformatted text
.
Feature(s) impacted
Please describe in this mandatory section the feature(s) that will be discussed in this topic.
backend creation
Observed behavior
Please describe in this mandatory section the current behavior you observe.
backend creation fails when following the instructions provided
Expected behavior
Please describe in this mandatory section the behavior you are expecting.
successful backend creation
Failure Logs
- cd my-project-name: error cannot find path “my-project-name” because it does not exist
- docker-compose error: no configuration file provided: not found
Context
Please provide in this mandatory section, the relevant information about your configuration:
- Project name: my-project-name
- Team name: none
- Environment name: win10 with docker desktop
- Agent type & version: ?
- Recent changes made on your end if any: none