Commit c862d644 authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Update README.md

parent 60d77126
......@@ -57,33 +57,16 @@ Clone the repo some where but you need to clone the branch docker
git clone -b docker https://gitlab.savoirfairelinux.com/drupal/sfl-boilerplate.git
```
and then build it:
and then for build it:
```
docker build -t boilerplate/drupal sfl-boilerplate/
cd sfl-boilerplate
git submodule init
git submodule update
cd drupy
fab local_setup
```
That's it!
At this point if everything is OK, you should have two images. You can run this to check
```
docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
boilerplate/drupal latest ff62a9fa7bde 2 hours ago 837.4 MB
sflinux/baseimage latest a57eacb74c44 5 hours ago 723.7 MB
```
## Now is time to run the image and see the Drupal site installed.
Using the options -d and -p the docker container will run in deteached mode and will connect your localhost por 8000 to the por 80 of the container.
```
docker run -d -p 8000:80 boilerplate/drupal
```
Open your browser at http://localhost:8000 and you should be able to see the Drupal site.
## Contributing
Feel free to fork and contribute to this code. :)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment