Skip to content

Commit

Permalink
only use docker-compose up to build/test this site
Browse files Browse the repository at this point in the history
  • Loading branch information
gernotstarke committed Oct 25, 2023
1 parent d817456 commit 073c9ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 81 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ You have an environment that allows to run
- a bash script (`/bin/bash`)
- [docker](https://docs.docker.com/build/building/context/) and [docker-compose](https://docs.docker.com/compose/)

### Build
### Build and test

In the root directory you find the script `_manage-site.sh`. Run it:
In the root directory, run `docker compose up`.

`quality.arc42.org-site (main)$ ./_manage-site.sh`.

Once executed the script suggests the possible commands. Only after you have chosen a command it will actually do something, i.e. to build and run it. The script starts a server with the updated website that you access via `http://localhost:4000`.

## How to contribute

Create a fork of [https://github.com/arc42/quality.arc42.org-site](https://github.com/arc42/quality.arc42.org-site). Change files and create a pull request with your changes using your fork.

Hint: `_todo-qualities` contains qualities whose definitions are missing. You may fill those files with content. Then move them to the appropriate folder (e.g. `qualities/<letter>/_posts`).

Hint: If you add new files you have to clean-rebuild the whole application. The watch is only for modifications of existing files.
Hint: If you add new files you have to clean-rebuild the whole application.
76 changes: 0 additions & 76 deletions _manage-site.sh

This file was deleted.

0 comments on commit 073c9ff

Please sign in to comment.