This is basic test website for Titops. The website is build base on Laravel Framework version 7.x
The Laravel framework has a few system requirements.
- PHP >= 7.2.5
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Source code can be run with docker compose. Please install docker before running this source code.
Sync source code from github
Copy .env.example file to .env file and then fix DB_HOST to DB_HOST=db, set DB_USERNAME and DB_PASSWORD
Run the follow command:
composer install=> install composer packagenpm install=> install node packagedocker-compose up -d=> run projectdocker-compose exec app php artisan key:generate=> generate laravel APP KEYdocker-compose exec app php artisan migrate=> migrate databasedocker-compose exec app php artisan db:seed --class=DatabaseSeeder4E77 => insert admin user and rolesdocker-compose exec app php artisan storage:link=> public the upload folder
Please check the online testing version here