This is fork from lord/slate
docker run -v /path_to_docs/source:/usr/src/app/source -v /path_to_docs/build:/usr/src/app/build -p 4567:4567 mishamx/slate <command>
.env-slate
use in project and tools slate.sh
Download
curl -O https://raw.githubusercontent.com/mishamx/slate/master/slate.sh && chmod +x slate.sh
Run
./slate.sh env
and update path for your project
./slate.sh run
and open http://127.0.0.1:4567/
./slate.sh build
docs:
image: mishamx/slate:latest
ports:
- 4567:4567
volumes:
- ./source:/usr/src/app/source
- ./build:/usr/src/app/build
docker exec -it <project_name>_docs_1 bash
./startup.sh