https://polakosz.000webhostapp.com
Deploy project
-
Clone project
-
Install Git bash
-
Install VS Code
-
Install Node.js with NPM
-
Integrate Git bash into VS Code
Add
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
line into the User Settings -
$ cd <cloned-project-path>
-
Rename
.env.example
to.env
-
Install PHP required packages
$ composer install
-
Generate an APP_KEY
$ php artisan key:generate
-
Create a DataBase and set the connection details in the
.env
file -
Install Node dependencies (to Compile Assets with Laravel Mix)
npm install
-
Generate (JS, CSS) assets
npm run prod
-
Create log file
/storage/logs/laravel.log
-
Set permissions (write)
/bootstrap/cache/
folder/storage/
folder
https://www.000webhost.com
Deploying to- Rename
/public/
folder to/public_html/
Develop
- JS, CSS
npm run watch
Test
Run $ composer run-all-tests
to run the Unit and Feature tests.
Run $ composer get-coverage
to generate HTML code coverage.
Code formatting
Please use the $ composer run-tidy
command before every commit to make sure the source code formatted properly.