Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
sfl-boilerplate
Commits
c862d644
Commit
c862d644
authored
May 29, 2015
by
Ernesto Rodriguez Ortiz
Browse files
Update README.md
parent
60d77126
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c862d644
...
...
@@ -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. :)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment