This platform is built using Laravel/PHP and uses Filament.
- Clone repo:
git clone git@github.com:stats4sd/rms-syllabus.git
- Copy
.env.example
as a new file and call it.env
- Update variables in
.env
file to match your local environment:- Check APP_URL is correct
- Update DB_DATABASE (name of the local MySQL database to use), DB_USERNAME (local MySQL username) and DB_PASSWORD (local MySQL password)
- Create a local MySQL database with the same name used in the
.env
file - Run the following setup commands in the root project folder:
composer install
php artisan key:generate
npm install
npm run dev
- Migrate the database:
php aritsan migrate:fresh --seed
(or copy from the staging site)