Refactor gitignore files to remove unnecessary entries

This commit is contained in:
2024-05-27 21:45:40 +08:00
parent 2c76f7ec39
commit fe0b34a752
11 changed files with 7 additions and 22 deletions
+6 -7
View File
@@ -22,13 +22,12 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a
## Production Deployment ## Production Deployment
1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email. 1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email.
2. In `compose/traefik/traefik.yml`, change `example.com` to your domain. 2. In `compose/traefik/traefik.yml`, change `example.com` to your domain.
3. `sudo apt-get install build-essential` 3. `sudo apt-get install build-essential` (if not already installed) to use makefile.
4. `mdkir ~/st-sync` 4. `mdkir ~/st-sync` syncthing folder.
5. `mdkir ~/.thelounge` 5. `cd ~/site` public site folder.
6. `touch cache/bar_cache.sqlite` 5. `mkdir ./compose/config` to store config.
7. `touch cache/short_cache.sqlite` 8. `cp .env.example ./compose/.env`
8. `cp .env.example .env` 9. `cp usersfile.example ./compose/usersfile`
9. `cp usersfile.example usersfile`
10. `make serve` 10. `make serve`
### Notes: ### Notes:
+1 -1
View File
@@ -194,7 +194,7 @@ services:
image: nginx:alpine image: nginx:alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./site:/usr/share/nginx/html:ro - ~/site:/usr/share/nginx/html:ro
expose: expose:
- 80 - 80
networks: networks:
-4
View File
@@ -1,4 +0,0 @@
*
!.gitignore
!certs.toml
!conf.example.php
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore