-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'fastaval/main'
- Loading branch information
Showing
222 changed files
with
16,003 additions
and
2,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,41 @@ | ||
InfoSys | ||
======= | ||
# InfoSys | ||
|
||
This is a system to keep track of as much data as possible | ||
for a role-playing convention. It is based on the needs of | ||
one such convention (Fastaval in Denmark) but might have a | ||
use for a wider audience - hence it's opensource. | ||
|
||
Requirements | ||
============ | ||
PHP 5.6 | ||
## Requirements | ||
|
||
PHP 8.0 | ||
|
||
- xml | ||
- mbstring | ||
|
||
Mysql 5.5/5.7 | ||
|
||
Docker | ||
====== | ||
There is a folder named docker in the root of the repo. Using this you can setup a dev environment fairly simple, you just need to run two docker commands and modify your hosts file. Enter the directory and run the following | ||
## Docker | ||
|
||
docker build -t infosys . | ||
docker run --name infosys -v $(realpath $(pwd)/../):/var/www/infosys -v $(pwd)/infosys-fpm.conf:/etc/php/5.6/fpm/pool.d/infosys-fpm.conf -v $(pwd)/infosys-site.conf:/etc/nginx/sites-enabled/infosys-site.conf -v $(pwd)/config.ini:/var/www/infosys/include/config.ini -p 127.0.0.1:8080:80 -d infosys | ||
To setup the docker environment, go into the docker folder in the root of the repo. Using this you can setup a dev environment fairly simple, you just need to run two docker commands and modify your hosts file. Enter the directory and run the following | ||
|
||
If you're on windows, substitute $(realpath $(pwd)/../) for the full path to the repo, and $(pwd) with the full path to the docker folder. Also, if your port 8080 is already in use, you'll need to use a different port on the host. | ||
```bash | ||
docker build -t infosys . | ||
``` | ||
|
||
```bash | ||
docker run --name infosys -v $(realpath):/var/www/infosys -v $(pwd)/infosys-fpm.conf:/etc/php/8.0/fpm/pool.d/infosys-fpm.conf -v $(pwd)/infosys-site.conf:/etc/nginx/sites-enabled/infosys-site.conf -v $(pwd)/config.ini:/var/www/infosys/include/config.ini -p 127.0.0.1:8080:80 -d infosys | ||
``` | ||
|
||
If you're on windows, substitute `$(realpath)` for the full path to the repo, and `$(pwd)` with the full path to the docker folder. Also, if your port 8080 is already in use, you'll need to use a different port on the host. | ||
|
||
Remember to add an entry to your hosts file to point infosys.local to 127.0.0.1. | ||
|
||
The dev setup comes complete with one admin user with the following credentials | ||
The dev setup comes complete with one admin user with the following credentials: | ||
|
||
- username: [email protected] | ||
- password: password | ||
|
||
* username: [email protected] | ||
* password: password | ||
## Contact | ||
|
||
Contact | ||
======= | ||
If you have any questions, feedback or ideas, you can reach | ||
me on peter.e.lind(a)gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.