Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1008 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 1008 Bytes

project-shorturl

Even nanorocks can have personal url shortener

Docker devbox

The project is build on top of docker devbox so, all you need is to have docker desktop installed on you pc and then you can navigate to root to run:

docker-compose up -d | For starting the devbox

docker-compose down | To clean up all containers

Project access

Db creating for project

  • go to http://localhost:54320
  • set provider Mysql
  • set username root
  • set password secret
  • set server database
  • after login create database with name db_name and db_name_test for testing

Env setup

  • All you need it to copy the .env.example to .env and run the app container to execute

    • php artisan key:generate
    • php artisan migrate:fresh --seed
    • (for running tests) php artisan test
    • php artisan db:seed
    • php artisan migrate
    • composer i
    • php artisan passport:keys
  • Default demo user password is: password