Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonaspaq/dtr
Online Daily Time Report
https://github.com/jonaspaq/dtr
github-action laravel vuejs
Last synced: 1 day ago
JSON representation
Online Daily Time Report
- Host: GitHub
- URL: https://github.com/jonaspaq/dtr
- Owner: jonaspaq
- Created: 2020-03-20T06:55:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T07:06:55.000Z (almost 2 years ago)
- Last Synced: 2024-01-06T17:24:44.066Z (10 months ago)
- Topics: github-action, laravel, vuejs
- Language: PHP
- Size: 2.72 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Online DTR
Online Daily Time Report## Required
[Docker Desktop](https://www.docker.com/products/docker-desktop)# Installation 🕶
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 ```
# Usage ðŸ›
There are two projects in this repo, the backend and the frontend.## Backend 🕹
> Note: docker-compose should be up already and dependecies should be installed successfully by nowEnter 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](http://localhost:8000) by now with no errors.
## Frontend 🖥
> Note: docker-compose should be up already and dependecies should be installed successfully by nowEnter frontend container
```
docker-compose exec node sh
```Next, watch files for development
```
yarn watch
```If you followed instructions carefully, you can visit [localhost:10080](http://localhost:10080) by now with no errors.
# Production
Coming soon.