lasthourcloud/CONTRIBUTION.md
2023-10-17 20:54:26 +02:00

1.2 KiB

Contributing

"First, thanks for considering to contribute to my project. It really means a lot!" - @andrasbacsai

You can ask for guidance anytime on our Discord server in the #contribution channel.

1) Setup your development environment

  • You need to have Docker Engine (or equivalent) installed on your system.
  • For better DX, install Spin.

2) Set your environment variables

3) Start & setup Coolify

  • 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.

4) Start development

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.

Mails are caught by Mailpit: localhost:8025