Develop website : Receive results from UET examination
Status: Alpha version
Start date: 26/12/2016
Submission date: 28/12/2016
Resource doc: /uet-resource-doc
Detailed guides in /uet-resource-doc older.
Design database at /uet-resource-doc/database/Design.png
Bootstrap
Jquery
Laravel 5
PHP 5.4 above
Support crontab: readmore: http://stackoverflow.com/questions/37265929/laravel-task-scheduling-set-to-run-every-minute-but-it-run-only-once
-
Create database
-
Config file .env
- Config database - Mailer account - Generate key $ php artisan key:generate
-
Install
Install manual
$ composer update
$ composer install
$ php artisan key:generate
$ php artisan migrate --seed
$ php artisan serve
Run job on server, readmore: http://stackoverflow.com/questions/37265929/laravel-task-scheduling-set-to-run-every-minute-but-it-run-only-once
- Open browser localhost:8080
- Setup queue
Set the QUEUE_DRIVER in your .env, config/queue.php file:
QUEUE_DRIVER=database
$ php artisan queue:table
$ php artisan migrate
$ php artisan queue:listen
$ composer dump
$ composer dump-autoload
$ php artisan config:cache
-
set queue always
For ubuntu $ nohup php artisan queue:work --daemon &
$ composer update
$ composer install
Tạo database uet-thesis
Copy .env.example > .env, cấu hình lại DB, MAIL, google captcha
$ php artisan migrate --seed
Generate ide-helper:
$ php artisan ide-helper:models
$ php artisan key:generate
$ php artisan serve
$ php artisan schedule:run >> /dev/null 2>&1
-
Can not seed migrate: edit ".env": set CACHE_DRIVER=array $ php artisan config:cache $ php artisan migrate:refresh --seed
$ composer dump-autoload $ php artisan db:seed hoặc $ php artisan migrate:refresh --seed
-
If form can not post data: Add {{Form::token()}} in form view
Settings > Plugins > Browse repositories... > Find 'Laravel plugin' > Install
Settings > Languages and Frameworks > Php > Laravel > 'Enable plugin for this project'
Update score student
Analytic result score
Recommend subject
Laravel
Mysql
Redis (cache query)
Tran Minh Tuan - UET - tuantmtb@gmail.com - +84.976.200.663
Nguyen Van Nhat - UET - nguyenvannhat152@gmail.com - +84.166.3077313