Skip to content
Snippets Groups Projects
Commit e2afe009 authored by jurgenhaas's avatar jurgenhaas
Browse files

#19 Optimize ahoy commands

parent 577d050f
No related branches found
No related tags found
No related merge requests found
ahoyapi: v2
commands:
mkdocs:
doc:
imports:
- ahoy.mkdocs.yml
usage: MkDocs tools.
......
......@@ -2,18 +2,22 @@ ahoyapi: v2
commands:
up:
cmd: |
d-c up -d
docker-compose up -d
echo "Open site in browser: http://127.0.0.1:8999"
echo "It may take a few seconds before the server is up and running."
usage: Start MkDocs server.
down:
cmd: d-c down
cmd: docker-compose down
usage: Stop MkDocs server and remove container.
stop:
cmd: docker-compose stop
usage: Stop MkDocs server.
restart:
cmd: d-c restart
cmd: docker-compose restart
usage: Restart MkDocs server.
logs:
cmd: d-c logs -f
cmd: docker-compose logs -f
usage: Show logs from MkDocs server.
build:
cmd: d-c exec --workdir=/mkdocs mkdocs mkdocs build
cmd: docker-compose exec --workdir=/mkdocs mkdocs mkdocs build
usage: Builds the documentation in site directory.
# New in version 2021.1.12:
# New in version 2021.1.15:
--------
- [Ansible](ansible/installation.html)
- [Docker L3D and Drupal Projects](docker/l3d/drupal.html)
> __
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment