-
-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Windows Docker Commands to README
- Loading branch information
1 parent
663e9ef
commit 9fb90d9
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,10 +88,14 @@ $ git clone [email protected]:openfoodfoundation/openfoodnetwork.git | |
```command | ||
$ cd openfoodnetwork | ||
``` | ||
* Download the Docker images, build the Docker containers, seed the database with sample data, AND log the screen output from these tasks: | ||
* You have two choices of images you can build. The default Ubuntu image is most similar to the production servers but is larger in size and will take longer to build. Alternatively, you can use the Alpine image which is smaller, faster to setup, and should be compatible with the Ubuntu. To download the Ubuntu Docker images, build the Docker containers, seed the database with sample data, AND log the screen output from these tasks: | ||
```command | ||
$ docker/build.ps1 | ||
``` | ||
* To use the alpine image to start with append the name of the Dockerfile: | ||
```sh | ||
$ docker/build.ps1 alpine.Dockerfile | ||
``` | ||
* Run the Rails server and its required Docker containers: | ||
```command | ||
$ docker/server.ps1 | ||
|