Online Daily Time Report
Clone this repository
git clone https://github.com/jonaspaq/dtr.git
Navigate to project directory and copy env
cp .env.example .env
Build and run docker
docker-compose up -d --build
After build, check logs if dependencies are installing. Wait for installs to succeed.
For composer, run docker-compose logs -f composer
For npm, run docker-compose logs -f node
There are two projects in this repo, the backend and the frontend.
Note: docker-compose should be up already and dependecies should be installed successfully by now
Enter backend container
docker-compose exec php sh
Copy environment variables
cp .env.example .env
Generate key for project
php artisan key:generate
If you followed instructions carefully, you can visit localhost:8000 by now with no errors.
Note: docker-compose should be up already and dependecies should be installed successfully by now
Enter frontend container
docker-compose exec node sh
Next, watch files for development
yarn watch
If you followed instructions carefully, you can visit localhost:10080 by now with no errors.
Coming soon.