Skip to content

Commit 1e0edff

Browse files
jalessiomigurski
authored andcommitted
More DOCKER.md cleanup
1 parent ab68999 commit 1e0edff

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Diff for: DOCKER.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Using [Docker](https://www.docker.com/) will allow you to install the OpenStreet
55
- [Install Docker](https://docs.docker.com/install/)
66
- [Install Docker Compose](https://docs.docker.com/compose/install/)
77

8-
These instructions gloss over the precise details of the dependencies and their configuration but these can be found in full detail at [INSTALL.md](INSTALL.md).
9-
108
The first step is to fork/clone the repo to your local machine. The repository is reasonably large (~150MB) and it's unlikely that you need the full history. If you are happy to wait for it all to download, run:
119

1210
git clone https://github.com/openstreetmap/openstreetmap-website.git
@@ -19,7 +17,9 @@ Now change working directory to the `openstreetmap-website`:
1917

2018
cd openstreetmap-website
2119

22-
### Storage setup
20+
## Initial Setup
21+
22+
### Storage
2323

2424
cp config/example.storage.yml config/storage.yml
2525

@@ -33,13 +33,13 @@ This is a workaround. [See issues/2185 for details](https://github.com/openstree
3333

3434
touch config/settings.local.yml
3535

36-
### Installation
36+
## Installation
3737

3838
In the root directory run:
3939

4040
docker-compose build
4141

42-
Now if this is your first time running or you have removed cache this will take some time to complete. So grab tea/coffee and sit tight. Once the Docker images have finished building you can launch the images as containers.
42+
If this is your first time running or you have removed cache this will take some time to complete. Once the Docker images have finished building you can launch the images as containers.
4343

4444
To launch the app run:
4545

@@ -52,7 +52,7 @@ This will launch one Docker container for each 'service' specified in `docker-co
5252

5353
### Migrations
5454

55-
While the `db` service is running, open another terminal window and run:
55+
Run the Rails database migrations:
5656

5757
docker-compose run --rm web rake db:migrate
5858

@@ -81,7 +81,6 @@ Once you have data loaded for Washington, DC you should be able to navigate to `
8181

8282
See `CONFIGURE.md` for information on how to manage users and enable OAuth for iD, JOSM etc.
8383

84-
8584
### Tests
8685

8786
docker-compose run --rm web rake test:db

0 commit comments

Comments
 (0)