forked from coollabsio/coolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve local dev + contribution guide
- Loading branch information
1 parent
f3b04c1
commit 00d7086
Showing
13 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,10 @@ You can ask for guidance anytime on our | |
- Run `spin up` - You can notice that errors will be thrown. Don't worry. | ||
- If you see weird permission errors, especially on Mac, run `sudo spin up` instead. | ||
|
||
- Run `./scripts/run setup:dev` - This will generate a secret key for you, delete any existing database layouts, migrate database to the new layout, and seed your database. | ||
If you are running Coolify for the first time: | ||
- Run `./scripts/run dev:init` - This will delete any existing database layouts, migrate database to the new layout, and seed your database. | ||
|
||
> If you see the login page with a 404 error, you forgot to run `./scripts/run dev:init`. | ||
### 4) Start development | ||
You can login your Coolify instance at `localhost:8000` with `[email protected]` and `password`. | ||
|
@@ -31,7 +34,6 @@ Your horizon (Laravel scheduler): `localhost:8000/horizon` - Only reachable if y | |
|
||
Mails are caught by Mailpit: `localhost:8025` | ||
|
||
|
||
## New Service Contribution | ||
Check out the docs [here](https://coolify.io/docs/how-to-add-a-service). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oneshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/command/execlineb -P | ||
foreground { composer -d /var/www/html/ install } | ||
foreground { php /var/www/html/artisan key:generate } | ||
foreground { php /var/www/html/artisan migrate --step } |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,20 +24,20 @@ class="text-xs text-center text-white normal-case bg-transparent border-none rou | |
<form action="/login" method="POST" class="flex flex-col gap-2"> | ||
@csrf | ||
@env('local') | ||
<x-forms.input value="[email protected]" type="email" name="email" required | ||
label="{{ __('input.email') }}" autofocus /> | ||
<x-forms.input value="[email protected]" type="email" name="email" required | ||
label="{{ __('input.email') }}" autofocus /> | ||
|
||
<x-forms.input value="password" type="password" name="password" required | ||
label="{{ __('input.password') }}" /> | ||
<a href="/forgot-password" class="text-xs"> | ||
{{ __('auth.forgot_password') }}? | ||
</a> | ||
@else | ||
<x-forms.input type="email" name="email" required label="{{ __('input.email') }}" autofocus /> | ||
<x-forms.input type="password" name="password" required label="{{ __('input.password') }}" /> | ||
<a href="/forgot-password" class="text-xs"> | ||
{{ __('auth.forgot_password') }}? | ||
</a> | ||
<x-forms.input value="password" type="password" name="password" required | ||
label="{{ __('input.password') }}" /> | ||
<a href="/forgot-password" class="text-xs"> | ||
{{ __('auth.forgot_password') }}? | ||
</a> | ||
@else | ||
<x-forms.input type="email" name="email" required label="{{ __('input.email') }}" autofocus /> | ||
<x-forms.input type="password" name="password" required label="{{ __('input.password') }}" /> | ||
<a href="/forgot-password" class="text-xs"> | ||
{{ __('auth.forgot_password') }}? | ||
</a> | ||
@endenv | ||
<x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button> | ||
@if (!$is_registration_enabled) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters