Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tm-kn/cht2520-assignment-1-laravel
https://github.com/tm-kn/cht2520-assignment-1-laravel
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tm-kn/cht2520-assignment-1-laravel
- Owner: tm-kn
- Created: 2019-07-02T10:22:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:24:38.000Z (almost 2 years ago)
- Last Synced: 2024-05-29T06:24:40.978Z (6 months ago)
- Language: JavaScript
- Size: 3.73 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# timetracker
A web application of a time tracker. Project is written in PHP using a web
framework Laravel.## Requirements on your local machine
* PHP 7
* Composer
* Vagrant## Set up
1. Run `composer install` to install PHP dependencies. This is required to run
the Homestead VM.
1. Copy `.env.example` into `.env`, those will be the environment variables
used for development.
1. Copy `Homestead.yaml.example` into `Homestead.yaml` and tweak the path to
the project, that will be used by the virtual machine project.
1. Run `vagrant up`.
1. Run `vagrant ssh`.
1. Go to `cd code`.
1. `php artisan key:generate` in order to generate the secret key.Your project should be now accessible at http://localhost:8000/ on your local
machine.## Compile static assets
1. `vagrant ssh` to connect to the virtual machine.
2. `cd code` to go to the project directory.
3. `yarn install` to install the NPM packages that this project requires.
4. `yarn dev` to start the compilation.