lasthourcloud/CONTRIBUTION.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

2023-10-02 12:58:29 +00:00
# Contributing
> "First, thanks for considering to contribute to my project.
It really means a lot!" - [@andrasbacsai](https://github.com/andrasbacsai)
You can ask for guidance anytime on our
[Discord server](https://coollabs.io/discord) in the `#contribution` channel.
2023-10-19 08:50:47 +00:00
## Code Contribution
2023-10-02 12:58:29 +00:00
2023-10-19 08:50:47 +00:00
### 1) Setup your development environment
2023-10-02 12:58:29 +00:00
- You need to have Docker Engine (or equivalent) [installed](https://docs.docker.com/engine/install/) on your system.
- For better DX, install [Spin](https://serversideup.net/open-source/spin/).
2023-10-19 08:50:47 +00:00
### 2) Set your environment variables
2023-10-02 12:58:29 +00:00
- Copy [.env.development.example](./.env.development.example) to .env.
## 3) Start & setup Coolify
- Run `spin up` - You can notice that errors will be thrown. Don't worry.
2023-10-06 18:45:35 +00:00
- If you see weird permission errors, especially on Mac, run `sudo spin up` instead.
2023-10-19 08:50:47 +00:00
### 4) Start development
2023-10-02 12:58:29 +00:00
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`
2023-10-19 08:50:47 +00:00
## New Service Contribution
2024-03-27 10:07:29 +00:00
Check out the docs [here](https://coolify.io/docs/resources/services/add-service).
2023-10-19 08:50:47 +00:00