fix small bug

This commit is contained in:
老周部落 2024-03-05 18:27:12 +08:00
parent 0b0edaa958
commit 616c52eff9
No known key found for this signature in database
GPG key ID: C72181CD85C6B738
4 changed files with 5 additions and 15 deletions

2
.gitignore vendored
View file

@ -60,7 +60,7 @@ packages/backend/assets/LICENSE
packages/megalodon/lib packages/megalodon/lib
packages/megalodon/.idea packages/megalodon/.idea
dev/firefish dev/docker/firefish
# blender backups # blender backups
*.blend1 *.blend1

View file

@ -58,7 +58,7 @@ If you have access to a server that supports one of the sources below, I recomme
For install production environment details, read [this document](https://firefish.dev/firefish/firefish/-/blob/develop/docs/install.md). For install production environment details, read [this document](https://firefish.dev/firefish/firefish/-/blob/develop/docs/install.md).
## Software Dependencies ## Dependencies
- At least [NodeJS](https://nodejs.org/en/) v18.16.0 (v20/v21 recommended) - At least [NodeJS](https://nodejs.org/en/) v18.16.0 (v20/v21 recommended)
- At least [PostgreSQL](https://www.postgresql.org/) v12 (v16 recommended) with [PGroonga](https://pgroonga.github.io/) extension - At least [PostgreSQL](https://www.postgresql.org/) v12 (v16 recommended) with [PGroonga](https://pgroonga.github.io/) extension

View file

@ -16,12 +16,12 @@ We support multiple methods to build a development environment, and you can choo
### Containerized Environment ### Containerized Environment
You can find documentation at [Here](docker/README.md). You can find documentation at [here](docker/README.md).
### Containerized Database Environment ### Containerized Database Environment
You can find documentation at [Here](docker-dbonly/README.md). You can find documentation at [here](docker-dbonly/README.md).
### Manually Make Development Environment ### Manually Make Development Environment
You can find documentation at [Here](manually/README.md). You can find documentation at [here](manually/README.md).

View file

@ -73,13 +73,3 @@ example.tld {
- Edit `firefish.nginx.conf` to reflect your server properly - Edit `firefish.nginx.conf` to reflect your server properly
- Run `sudo ln -s ./firefish.nginx.conf ../sites-enabled/firefish.nginx.conf` - Run `sudo ln -s ./firefish.nginx.conf ../sites-enabled/firefish.nginx.conf`
- Run `sudo nginx -t` to validate that the config is valid, then restart the NGINX service. - Run `sudo nginx -t` to validate that the config is valid, then restart the NGINX service.
### Apache
> **Warning**
> Apache has some known problems with Firefish. Only use it if you have to.
- Run `sudo cp ./firefish.apache.conf /etc/apache2/sites-available/ && cd /etc/apache2/sites-available/`
- Edit `firefish.apache.conf` to reflect your server properly
- Run `sudo a2ensite firefish.apache` to enable the site
- Run `sudo service apache2 restart` to reload apache2 configuration