Your PC need:
- LAMP (Linux + Apache + Mysql + PHP). If your OS is Window, your need install XAMPP/WAMPServer/...
- Composer
Run command line:
$ git clone https://github.com/kienht58/CDCN.git
$ cd CDCN
$ composer update
$ cp .env.example .env
$ php artisan key:generate
Open .env file, change DB_DATABASE
is your database's name, DB_USERNAME
and DB_PASSWORD
is username and password to connect database.
Next, run:
$ php artisan migrate
If your OS is Linux, you can run:
$ php artisan serve
to start server. And access to localhost:8000
If your OS is Window, you need start Apache and access to localhost/CDCN/public