- Run "git clone https://github.com/topcoder1406/BizNews"
- Run "cd BizNews"
- Run "composer install"
- Run "npm install && npm run build"
- Set up configurations in .env file
- Run "php artisan key:generate"
- Run "php artisan migrate"
- Run "php artisan storage:link"
- "php artisan optimize"
Now you can type "php artisan serve" in command line in order to run server.
Next you can:
-
Seed database with random data by running "php artisan db:seed".
(Passwords of all seeded users will be "password")
Login page: http://127.0.0.1:8000/admin/login - Or you can open http://127.0.0.1:8000 in browser and register your admin account, then you can create categories and posts. After creating at least one post return to http://127.0.0.1:8000