- Open terminal and type
cd $HOME/Desktop - Clone repo
git clone [email protected]:DripDropz/RewardEngine.git - Switch to repo dir
cd $HOME/Desktop/RewardEngine - Copy
.env.exampleas.env(then make necessary changes to.envfile) - Run
make buildto build & start the containers - Application should be running locally at
http://localhost:8200
frontend-buildRebuild frontendfrontend-watchRunsnpm run dev(vite watch/hot-reload mode) inside rewardengine-web containerfrontend-upgradeUpgrades npm packages inside rewardengine-web containerupRestart all docker containersdownShutdown all docker containersbuildRebuilds all docker containerscomposer-installRun composer installdb-migrateRun database migration(s)db-refreshDrop all database tables, re-run the migration(s) with seedsapi-docsGenerates api documentation based on code annotationstinkerStarts a new php artisan tinker sessionstatusView the status of all running containerslogsView the logs out of all running containerslogs-webView the logs out ofrewardengine-webcontainer onlylogs-cardano-sidecarView the logs out ofrewardengine-cardano-sidecarcontainer onlyshellDrop into an interactive shell inside rewardengine-web containerstatsView the resource usage of all running containersartisanExecute Laravelartisancommand inside rewardengine-web container (e.g. usage:make artisan COMMAND="make:model MyModel -m")
Host: 127.0.0.1
Port: 33100
User: rewardengine
Database: rewardengine
Password: 123456