- PHP >= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- GD PHP Extension
- Imagick PHP Extension
Note:
Improper permission on storage
& public
folder will lead to server & application errors
- Clone to your server root
git clone https://github.com/abdullahkaamil/gym
For faster updates and bleeding edge features, or if you want to help test the next version, use the
develop
branch instead of themaster
branch.
- Run
composer install
to install all dependencies - Create
.env
in application rootcp .env.example .env
- Update database details and optional sentry DNS in
.env
- Run
php artisan key:generate
to generate key - Run
php artisan migrate --seed
to install the database & required data - Add cron entry for scheduled task to update status for various modules (subscription expiration etc)
* * * * * cd /path-to-gymie && php artisan schedule:run >> /dev/null 2>&1
For more info: https://laravel.com/docs/5.7/scheduling#introduction
- All right sparky!
use the following credentials to log in
email: akaamil@outlook.com
password: password
APP_KEY not getting added to .env
- Add APP_KEY to .env
- Copy generated key from terminal
Permission / 500 Internal Server Error
Change permission on storage & cache
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache