Built with Ye Olde CodeIgniter 3.1 (required PHP version >= 7.4).
Copy all files to the host and configure the base_url and the DB settings.
If the site is running under a path the .htaccess file RewriteBase / line needs to be updated to reflect that path.
Configure the autoload[config] value to match an existing config file (fnf, ofcra, 3cb, 242ns, rb, localhost), or create a new one.
The table structure is in the db.skeleton.sql file. (MySQL/MariaDB format)
Import the skeleton first, and then a seed if you want to.
The admin interface can be accessed via a URL with a fixed token tied to a user name.
Use the base_url/login/username/admin_key URL to reveal the actual login URL for username.
The admin_key is left at the default value for the demo sites for now. You're welcome to mess around, but please don't screw up anything intentionally. 🥺
Spin up a development environment by running docker-compose up.
The DB skeleton is loaded automatically into the ocapstats database.
The latest FNF seed is loaded in the adminer service container, and available under Import / From server via the Run file button.
- Web
- Db
- host: localhost
- port: 3306
- user: root
- pass: rootpass
- Adminer
- http://localhost:8080
Login data:- Server: db
- Username: root
- Password: rootpass
- Database: ocapstats
- http://localhost:8080
You need to make sure that PHP has sufficient permissions to access the application/cache and application/logs folder.
Set the owner to nobody (web service user):
sudo chown -R nobody application/cache application/logs
or allow RWX for everyone:
sudo chmod 0777 -R application/cache application/logs