Merge branch 'main' of https://git.myco.systems/stp/Xenforo
This commit is contained in:
commit
e12e9f3acb
3 changed files with 80 additions and 0 deletions
32
ISSUES.md
Normal file
32
ISSUES.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Issue Template (Delete this header after copying)
|
||||||
|
|
||||||
|
## [Issue Title]
|
||||||
|
|
||||||
|
### Expected behavior
|
||||||
|
|
||||||
|
[Describe what you expected to happen]
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
[Describe your issue in as much detail as possible]
|
||||||
|
|
||||||
|
### Environment (Fill in one, delete the other)
|
||||||
|
|
||||||
|
#### Debian:
|
||||||
|
- Debian Version:
|
||||||
|
- Docker Version:
|
||||||
|
- Docker Compose File:
|
||||||
|
|
||||||
|
[Starting and ending line should be ``` to make it a codeblock]
|
||||||
|
|
||||||
|
- Docker .env File:
|
||||||
|
|
||||||
|
[Starting and ending line should be ``` to make it a codeblock]
|
||||||
|
|
||||||
|
#### Web:
|
||||||
|
- Browser: [Browser and Version]
|
||||||
|
- Extensions: [Installed and running extensions]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[Additional notes, information, or comments.]
|
9
LICENSE
Normal file
9
LICENSE
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
No rights reserved
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
39
README.md
39
README.md
|
@ -1,5 +1,12 @@
|
||||||
# Xenforo StP Repo
|
# Xenforo StP Repo
|
||||||
|
|
||||||
|
Github mirror:
|
||||||
|
https://github.com/Myco-Systems/stp-xenforo-mirror/
|
||||||
|
|
||||||
|
## Downloading and building (run as root or enable docker rootless)
|
||||||
|
```
|
||||||
|
curl -sSfL get.docker.com | bash
|
||||||
|
```
|
||||||
```
|
```
|
||||||
git clone https://git.myco.systems/stp/xenforo.git
|
git clone https://git.myco.systems/stp/xenforo.git
|
||||||
```
|
```
|
||||||
|
@ -8,10 +15,42 @@ git clone https://git.myco.systems/stp/xenforo.git
|
||||||
cd xenforo
|
cd xenforo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Copy .env.example to .env and fill in the relevant information, this should match the db you are importing from.
|
||||||
|
```
|
||||||
|
cp .env.example .env
|
||||||
|
```
|
||||||
|
|
||||||
|
Place xenforo files at xenforo/_data (or alter the directory in docker-compose.yml to match your Xenforo location) mysql can be pointed anywhere, but you should have a persistent directory so you can enter the container and import your db.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker compose build
|
docker compose build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
```
|
```
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To import your mysql db you need to move your .sql files into a location that the container is attached to then run `docker exec -it <docker-container-id> /bin/bash` > `cd /var/lib/mysql` (assuming this is the directory the container is attached to) > `mariadb -u <username> -p <db-name> < <your-existing-db>` enter your password and then get a coffee because any databases over 1 GB can take a while.
|
||||||
|
|
||||||
|
Restart the containers:
|
||||||
|
```
|
||||||
|
docker compose down && docker compose up
|
||||||
|
```
|
||||||
|
After that the nginx webserver will be running on port 8080, currently the expected behavior is for nginx to be behind a reverse proxy so either you can point the proxy at your-ip:8080 or you can alter the docker compose file to include traefik which can grab ssl certificates for you.
|
||||||
|
|
||||||
|
## Issues
|
||||||
|
|
||||||
|
### Github
|
||||||
|
|
||||||
|
To report an issue go to https://github.com/Myco-Systems/stp-xenforo-mirror/blob/main/ISSUES.md and copy the raw markdown, then head over to https://github.com/Myco-Systems/stp-xenforo-mirror/issues and press "New Issue"
|
||||||
|
|
||||||
|
### Gitea
|
||||||
|
|
||||||
|
To report an issue go to https://git.myco.systems/stp/xenforo/src/branch/main/ISSUES.md and copy the raw markdown, then head over to https://git.myco.systems/stp/xenforo/issues and press "New Issue"
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
All code is licensed under MIT, no rights reserved, no warranty provided.
|
||||||
|
https://git.myco.systems/stp/xenforo/src/branch/main/LICENSE
|
Loading…
Add table
Reference in a new issue