Skip to content

Commit

Permalink
Merge remote-tracking branch 'fastaval/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Fake51 committed Apr 8, 2023
2 parents 27d60f7 + 2f150b1 commit 42fa942
Show file tree
Hide file tree
Showing 222 changed files with 16,003 additions and 2,778 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public/audio/*
public/uploads/*
public/error_log.txt
public/vote-barcodes/*
include/signup-data/*
public/sheets/*
include/signup/data/*
include/scripts/*
include/cache/*
logs/*
Expand All @@ -15,3 +16,4 @@ index.json
vendor
composer.phar
bin
include/fastaval-it-*.json
38 changes: 22 additions & 16 deletions README.md
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
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"require": {
"guzzlehttp/guzzle": "^6.2",
"shuchkin/simplexlsx" : "0.8.10",
"shuchkin/simplexls" : "0.9.4"
"shuchkin/simplexls" : "0.9.4",
"phpoffice/phpspreadsheet": "^1.22"
}
}
Loading

0 comments on commit 42fa942

Please sign in to comment.