Skip to content

Commit

Permalink
update:docs about setup with docker (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Dec 30, 2023
1 parent 30f2a86 commit c130808
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
deploy:
if: |
startsWith(github.event.head_commit.message, 'update:docs')
runs-on: ubuntu-latest

steps:
Expand Down
11 changes: 11 additions & 0 deletions docs/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,14 @@ body[data-md-color-scheme="slate"] .highlight .n {
body[data-md-color-scheme="default"] .highlight .n {
color: #025596;
}

body[data-md-color-scheme="default"] p code {
font-weight: bold !important;
color: #176bad !important;
background: #d5d5d5 !important;
}

body[data-md-color-scheme="slate"] p code {
font-weight: bold !important;
color: #176bad !important;
}
19 changes: 19 additions & 0 deletions docs/the-basic/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,23 @@ dox s
or

bin/dox s
```

## Start server with docker

```py
docker-compose up -d --build
```

!!! tips
Ensure that setting `APP_ENV` in `.env` to `development` facilitates server operations with hot reloading during development, while configuring it as `production` ensures compilation into machine code for server deployment.

## Watch the builder

```py
dart run build_runner watch

or

dox build_runner:watch
```

0 comments on commit c130808

Please sign in to comment.