This platform is built using Laravel/PHP. The front-end is written in VueJS and the admin panel uses Backpack for Laravel.
- Clone repo:
git@github.com:stats4sd/pathways_platform.git - Copy
.env.exampleas a new file and call it.env - Update variables in
.envfile 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
.envfile - Run the following setup commands in the root project folder:
composer install
php artisan key:generate
php artisan backpack:install
php artisan telescope:publish
php artisan updatesql
npm install
npm run dev
- Migrate the database:
php aritsan migrate