This project is for the website running at https://www.abhayagiri.org/. It uses Laravel, Backpack, Vue.js, Bootstrap and many other projects.
If you wish to work on the website, we recommend that you use Herd to setup your local development environment.
git clone https://github.com/abhayagiri/abhayagiri-website
composer install
Abhayagiri uses backpack PRO for its admin panel. You'll be asked to enter the backpack PRO credentials during the composer installation. This credentials can be found here: https://backpackforlaravel.com/user/tokens
php artisan key:generate
php artisan migrate --seed
# Install backpack assets
php artisan backpack:install
npm install
npm run dev
### Unit and Feature Testing
To run the [Laravel Unit and Feature](https://laravel.com/docs/6.x/testing)
tests:
```sh
vendor/bin/phpunit
To run the Cypress tests:
APP_ENV=test php artisan serve --port=8001 > /dev/null 2>&1 &
APP_ENV=test php artisan migrate:fresh --seed
$(npm bin)/cypress run
kill %1
For more information about Cypress, see the official documentation.
If you're getting errors due a recent change, try the following to reset things:
php artisan optimize:clear
composer dump-autoload
scripts/install-local.sh
php artisan migrate:fresh --seed
Also be sure to clear your browser's cache.
The following services are used on the production webserver: