Student database system with docker support allowing the students to log in and out when they come and leave a location like a register. Ideal to run on iPads/tablets. Screenshots below!
git clone https://github.com/overclockedllama/gocode-login.git
docker-compose up -d
You should now have an app successfully running at http://localhost:6989
The MariaDB data will be stored in ./mariadb/mariadb-data
-
To change the port gocode-login runs at edit
docker-compose.yml
-
Find the lines containing:
ports: - 6989:80
and change the 6989 to any port of your choosing
To setup a domain name and optional SSL you can use a reverse proxy.
Some reverse proxy options are:
- Apache
- Nginx
I like nginx so there is an example nginx config file at nginx-sample.conf
You can use this sample config file to help set up your reverse proxy with a letsencrypt.org certificate.
The software can also be setup on a standard LAMP server. You will need to configure some stuff manually however.
You will need to create a new table called gocode in a MySQL or MariaDB database server. You can configure the file ./php/src/dbconnect.php
must to connect to your MySQL or MariaDB server.
The source php files are found at ./php/src/...
These must be copied to your webroot. You must also have some HTTP server with PHP execution software such as Apache or Nginx with php-fpm.