Skip to content

Commit

Permalink
Merge pull request #236 from nwekealex65/docs/Docker-installation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma authored Mar 21, 2024
2 parents 414d5ba + d5702c8 commit 60aba7d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/Docker-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Docker Compose is created with redis , worker , postgis database , api and fron
nvidia-smi
```

4. Clonse Base Model and Create RAMP_HOME
4. Clone Base Model and Create RAMP_HOME

- Create a new folder called RAMP , outside fAIr

Expand Down Expand Up @@ -72,7 +72,8 @@ Docker Compose is created with redis , worker , postgis database , api and fron
- Check permissions for ```Read user preferences``` and Redirect URI to be ```http://127.0.0.1:3000/authenticate/``` , Give it name as ```fAIr Dev Local```
- You will get ```OSM_CLIENT_ID``` , ```OSM_CLIENT_SECRET``` Copy them

6. Create Env variables
6. Create Env variables
Backend
- Create a file ```.env``` in backend with [docker_sample_env](../backend/docker_sample_env) content
```
cd backend
Expand All @@ -82,7 +83,8 @@ Docker Compose is created with redis , worker , postgis database , api and fron

Leave rest of the items as it is unless you know what you are doing

- Create ```.env``` in /frontend
Frontend
- Create ```.env``` file in /frontend
```
cd frontend
cp .env_sample .env
Expand Down Expand Up @@ -185,4 +187,4 @@ Docker Compose is created with redis , worker , postgis database , api and fron
DATABASE_URL=postgis://postgres:admin@localhost:5434/ai
CELERY_BROKER_URL="redis://localhost:6379/0"
CELERY_RESULT_BACKEND="redis://localhost:6379/0"
```
```

0 comments on commit 60aba7d

Please sign in to comment.