We recommend to use Ampps (https://www.ampps.com) instead of Xampp to create develop environment. With Ampps, you can easy to add/manage virtual domain like cms.local https://www.youtube.com/watch?v=F1CaiR3L9FQ
{warning} On this project, I use the latest Laravel version (currently 5.6). Please go to Laravel documentation page for more information.
- Import sample database from database.sql
- Create .env
file from .env-example
and update your configuration
- Run the first test with command php artisan serve
. Open http://localhost:8000
, you should see home page of Botble CMS.
- Botble should run on a virtual host. Create a virtual host like cms.local to run Botble CMS. Follow these steps to see how to config virtual host: Setup virtual host.
This site can only be run at domain name, not folder link.
On your localhost, setting virtual host. Something like http://cms.local
is ok.
Cannot use as http://localhost/cms/...
.
Please remove public
in your domain also, you can point your domain to public
folder
or use .httaccess
(http://stackoverflow.com/questions/23837933/how-can-i-remove-public-index-php-in-the-url-generated-laravel)
Follow these steps to see how to config virtual host: Setup virtual host.
Well done! Now, you can login to the dashboard by access to your_domain_site/admin.
Username: botble
Password: 159357
Enjoy!