fix: setup:dev script & contribution guide

This commit is contained in:
Andras Bacsai 2023-10-17 20:54:26 +02:00
parent 1e39c3d5ab
commit da54c24e8d
5 changed files with 7 additions and 4 deletions

View File

@ -27,3 +27,5 @@ ## 4) Start development
You can login your Coolify instance at `localhost:8000` with `test@example.com` and `password`. You can login your Coolify instance at `localhost:8000` with `test@example.com` and `password`.
Your horizon (Laravel scheduler): `localhost:8000/horizon` - Only reachable if you logged in with root user. Your horizon (Laravel scheduler): `localhost:8000/horizon` - Only reachable if you logged in with root user.
Mails are caught by Mailpit: `localhost:8025`

View File

@ -7,7 +7,7 @@
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.92', 'release' => '4.0.0-beta.93',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.92'; return '4.0.0-beta.93';

View File

@ -21,9 +21,10 @@ function help {
} }
function setup:dev { function setup:dev {
docker exec coolify bash -c "php artisan key:generate"
docker exec coolify bash -c "composer install" docker exec coolify bash -c "composer install"
docker exec coolify bash -c "php artisan key:generate"
docker exec coolify bash -c "php artisan migrate:fresh --seed" docker exec coolify bash -c "php artisan migrate:fresh --seed"
sudo chmod -R o+rwx .
} }
function sync:v3 { function sync:v3 {
if [ -z "$1" ]; then if [ -z "$1" ]; then

View File

@ -4,7 +4,7 @@
"version": "3.12.36" "version": "3.12.36"
}, },
"v4": { "v4": {
"version": "4.0.0-beta.92" "version": "4.0.0-beta.93"
} }
} }
} }