https://github.com/patricksrepos/core
Gatekeeper
https://github.com/patricksrepos/core
Last synced: about 1 year ago
JSON representation
Gatekeeper
- Host: GitHub
- URL: https://github.com/patricksrepos/core
- Owner: PatricksRepos
- License: mit
- Created: 2025-04-14T14:25:36.000Z (about 1 year ago)
- Default Branch: test_branch
- Last Pushed: 2025-05-15T12:35:37.000Z (about 1 year ago)
- Last Synced: 2025-05-26T21:48:21.106Z (about 1 year ago)
- Language: PHP
- Size: 23.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GateKeeper
An open source ticketing solution using Cardano Native Assets. Bridging Web 3.0 to IRL via Blockchain.
Developed by [Adam Dean](https://twitter.com/adamKDean) & [Latheesan Kanesamoorthy](https://twitter.com/LatheesanK) and maintained by the Cardano Community with ❤.
## Prerequisite
- Linux OS
- Make
- Git
- [Docker](https://docs.docker.com/desktop/install/linux-install/) / [Docker-Compose](https://docs.docker.com/compose/install/linux/)
## Local Install
- Open terminal and type `cd $HOME/Desktop`
- Run `docker network create --driver bridge local-gatekeeper` (**Only Required First Time Setup**)
- Clone repo `git clone https://github.com/CardanoGateKeeper/Core.git`
- Switch to repo dir `cd $HOME/Desktop/GateKeeper`
- Copy `docker/docker-compose.custom.yml.example` as `docker/docker-compose.custom.yml`
- Copy `application/.env.example` as `application/.env`
- Run `make buid` to build & start the containers
- Application should be running locally at [**https**://localhost:8020](https://localhost:8020)
> You can connect to the dev mysql instance via host `127.0.0.1` and port `33020`, see credentials in `docker/docker-compose.custom.yml`
## Available Make Commands (Local Development)
* `build` Rebuild all docker containers
* `up` Restart all docker containers
* `down` Shutdown all docker containers
* `composer-install` Run composer install
* `db-migrate` Run database migration(s)
* `db-refresh` Drop all database tables, re-run the migration(s) with seeds
* `status` View the status of all running containers
* `logs` View the logs out of all running containers
* `shell` Drop into an interactive shell inside _gatekeeper-web_ container
* `stats` View the resource usage of all running containers
* `artisan` Execute Laravel `artisan` command inside _gatekeeper-web_ container
* `admin` Create a new admin user
* `staff` Create a new staff user
* `change-password` Change user account password
### How To Change Application Port
* You can change the exposed application port by modifying section of `gatekeeper-web` in `docker/docker-compose.custom.yml`
### How To Change MySQL Credentials
* You can change the exposed mysql port & database credentials by modifying section of `gatekeeper-mysql` in `docker/docker-compose.custom.yml`
* Then update the `application/.env` to reflect the new db credentials
* In production environment, it is _recommended_ to change the database credentials and not expose the mysql ports