Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -12,25 +12,6 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '24'
|
|
||||||
|
|
||||||
- name: Set up PHP with Composer
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: '8.4'
|
|
||||||
tools: composer:v2
|
|
||||||
|
|
||||||
- name: Install PHP dependencies
|
|
||||||
run: composer install --no-interaction --prefer-dist --optimize-autoloader
|
|
||||||
|
|
||||||
- name: Install JS dependencies and build assets
|
|
||||||
run: |
|
|
||||||
npm ci
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@ -44,8 +25,8 @@ jobs:
|
|||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ${{ github.workspace }}
|
context: .
|
||||||
file: ${{ github.workspace }}/Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitgud.foo/thegrind/flowtodo:latest
|
gitgud.foo/thegrind/flowtodo:latest
|
||||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -4,9 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
|
- main
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -4,9 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
4
Makefile
4
Makefile
@ -21,7 +21,3 @@ rebuild:
|
|||||||
docker-publish:
|
docker-publish:
|
||||||
docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION)
|
docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION)
|
||||||
docker push gitgud.foo/thegrind/flowtodo:$(VERSION)
|
docker push gitgud.foo/thegrind/flowtodo:$(VERSION)
|
||||||
|
|
||||||
test-remote-image:
|
|
||||||
docker pull gitgud.foo/thegrind/flowtodo:latest
|
|
||||||
docker run --rm -p 8889:8000 gitgud.foo/thegrind/flowtodo:latest
|
|
||||||
|
13
README.md
13
README.md
@ -10,19 +10,6 @@ in standup about what I did yesterday I can just look back at a list of bullet p
|
|||||||
|
|
||||||
**Docker image coming soon**
|
**Docker image coming soon**
|
||||||
|
|
||||||
### Docker compose
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
flowtodo:
|
|
||||||
container_name: flowtodo
|
|
||||||
image: gitgud.foo/thegrind/flowtodo:latest
|
|
||||||
environment:
|
|
||||||
- OCTANE_HTTPS=true # If you're serving through a reverse proxy
|
|
||||||
ports:
|
|
||||||
- '8889:8000'
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
#### Database
|
#### Database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user