"Stage" application with laravel. For more information, please go to this repo
- Clone this repo.
- Open Workbench model in 'database' folder and export the schema "Stages v2.mwb" .
- Set your new DB (app_internships2) as default db.
- Execute the sql file in 'database' folder "testdata.sql".
- Open your terminal and go :
cd /path/to/your/local/clone/of/larasta
# install composer dependencies
composer install
# install the npm dependencies
cd public && npm i
- create .env file and add admin values :
USER_ID=1234
USER_INITIALS='ABC'
USER_LEVEL=1
- Generate your key
php artisan key:generate
- If you don't use mysql 8, please go on 'config/database.php' and change this :
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'larasta'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', 'root'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
- On your terminal, make
cd ..
and usephp artisan serve
enjoy !