Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean docker install method #37

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@ jobs:
uses: actions/checkout@v4
- name: Prepare install.zip
run: |
mkdir -p ./install/georiviere-public
cp .env.dist ./install/georiviere-public/.env
cp -r translations ./install/georiviere-public
cp -r src/customization ./install/georiviere-public
cp -r public/medias ./install/georiviere-public
cp ./install/docker-compose.yml ./install/georiviere-public
cp ./install/Dockerfile ./install/georiviere-public
cd install
mkdir georiviere-public
cp -r * ./georiviere-public 2>/dev/null || :
cp .env.dist ./georiviere-public
zip -r ../install.zip georiviere-public/
zip -r ../install.zip ./georiviere-public

- name: Attach zip archive as release binary
uses: skx/github-action-publish-binaries@master
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ install/.env
# typescript
*.tsbuildinfo
next-env.d.ts
/install/georiviere-public/
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ Follow those instructions in order to install the application on your server :
```bash
unzip install.zip
cd georiviere-public
cp .env.dist .env
```
2. Modify .env as needed and [change your customization](#customization)
2. Modify .env as needed and [change your customization](#customization) (take care it may be hidden by your file browser.)

3. Build your image
```bash
docker compose build
```
*Note : Whenever you need to change your translation or the .env. You have to rebuild the image.*
*Note : Whenever you need to change your translation. You have to rebuild the image.*

4. Launch the service :
```bash
Expand Down
2 changes: 0 additions & 2 deletions install/.env.dist

This file was deleted.

142 changes: 0 additions & 142 deletions install/customization/settings.json

This file was deleted.

Binary file removed install/medias/apple-touch-icon.png
Binary file not shown.
1 change: 0 additions & 1 deletion install/medias/facebook.svg

This file was deleted.

Binary file removed install/medias/favicon-16x16.png
Binary file not shown.
Binary file removed install/medias/favicon.png
Binary file not shown.
Binary file removed install/medias/home.jpg
Binary file not shown.
Binary file removed install/medias/illustration.jpg
Binary file not shown.
18 changes: 0 additions & 18 deletions install/medias/logo.svg

This file was deleted.

Binary file removed install/medias/placeholder.jpg
Binary file not shown.
Binary file removed install/medias/placeholder0.jpg
Binary file not shown.
Binary file removed install/medias/placeholder1.jpg
Binary file not shown.
Binary file removed install/medias/placeholder2.jpg
Binary file not shown.
Binary file removed install/medias/placeholder3.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion install/medias/youtube.svg

This file was deleted.

96 changes: 0 additions & 96 deletions install/translations/fr.json

This file was deleted.

2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
"light": "clair",
"dark": "sombre"
}
}
}