README: we don't do docker

This commit is contained in:
Sebastien Bourdeauducq 2019-07-18 22:32:15 +08:00
parent a3cfb52268
commit 0d6bb63d53
1 changed files with 2 additions and 29 deletions

View File

@ -6,17 +6,6 @@
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Prerequisites
What things you need to install the software and how to install them
- Docker Community Edition (Docker Engine Community)
[https://docs.docker.com/install/](https://docs.docker.com/install/)
**You may need to create a dockerhub account to download docker.**
### Installing ### Installing
A step by step series of examples that tell you how to get a development env running A step by step series of examples that tell you how to get a development env running
@ -29,26 +18,10 @@ A step by step series of examples that tell you how to get a development env run
&& cd m-labs-zola && cd m-labs-zola
``` ```
2. Build the docker container for development 2. Install Zola
```
cd <path-to-workspace>/m-labs/zola/website
docker run \
-p 1111:1111 \
-v "$PWD:/usr/src/app/website" \
--name mlabs-zola \
-it \
sovanna/zola
ctrl+d # to exit the container
```
3. Start 3. Start
``` ```
docker start mlabs-zola
docker exec -it mlabs-zola /bin/bash
cd website
zola serve --interface 0.0.0.0 --port 1111 zola serve --interface 0.0.0.0 --port 1111
``` ```