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 ahoyapi: v2
commands: commands:
mkdocs: doc:
imports: imports:
- ahoy.mkdocs.yml - ahoy.mkdocs.yml
usage: MkDocs tools. usage: MkDocs tools.
......
...@@ -2,18 +2,22 @@ ahoyapi: v2 ...@@ -2,18 +2,22 @@ ahoyapi: v2
commands: commands:
up: up:
cmd: | cmd: |
d-c up -d docker-compose up -d
echo "Open site in browser: http://127.0.0.1:8999" 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. usage: Start MkDocs server.
down: 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. usage: Stop MkDocs server.
restart: restart:
cmd: d-c restart cmd: docker-compose restart
usage: Restart MkDocs server. usage: Restart MkDocs server.
logs: logs:
cmd: d-c logs -f cmd: docker-compose logs -f
usage: Show logs from MkDocs server. usage: Show logs from MkDocs server.
build: 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. 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