coolify/CONTRIBUTION.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

2023-10-02 14:58:29 +02: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 10:50:47 +02:00
## Code Contribution
2023-10-02 14:58:29 +02:00
2023-10-19 10:50:47 +02:00
### 1) Setup your development environment
2023-10-02 14:58:29 +02: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 10:50:47 +02:00
### 2) Set your environment variables
2023-10-02 14:58:29 +02: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 20:45:35 +02:00
- If you see weird permission errors, especially on Mac, run `sudo spin up` instead.
2023-10-19 10:50:47 +02:00
### 4) Start development
2023-10-02 14:58:29 +02: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 10:50:47 +02:00
## New Service Contribution
Check out the docs [here](https://coolify.io/docs/knowledge-base/add-a-service).
2023-10-19 10:50:47 +02:00