mirror of
https://github.com/fosrl/docs.git
synced 2025-05-12 21:30:43 +01:00
add yaml to how to update, and change branch in contributing
This commit is contained in:
parent
3ef44f99db
commit
be325469df
2 changed files with 19 additions and 4 deletions
|
@ -10,19 +10,32 @@ Some basic commands to get you started:
|
|||
sudo docker compose down
|
||||
```
|
||||
|
||||
2. Pull the latest images
|
||||
2. Update the docker compose file with the new version number
|
||||
|
||||
```yaml
|
||||
services:
|
||||
pangolin:
|
||||
image: fosrl/pangolin:1.0.0-beta.8 # increase the tag to the latest version number, or use "latest"
|
||||
container_name: pangolin
|
||||
restart: unless-stopped
|
||||
...
|
||||
```
|
||||
|
||||
Do this for each container you want to update.
|
||||
|
||||
3. Pull the latest images
|
||||
|
||||
```bash
|
||||
sudo docker compose pull
|
||||
```
|
||||
|
||||
3. Start the stack
|
||||
4. Start the stack
|
||||
|
||||
```bash
|
||||
sudo docker compose up -d
|
||||
```
|
||||
|
||||
4. Check the logs
|
||||
5. Check the logs
|
||||
|
||||
```bash
|
||||
sudo docker compose logs -f
|
||||
|
|
|
@ -34,7 +34,7 @@ Below is an example if you're working on the Pangolin repo.
|
|||
3. Create a new branch:
|
||||
|
||||
```bash
|
||||
git checkout -b BRANCH_NAME dev
|
||||
git checkout -b BRANCH_NAME main
|
||||
```
|
||||
|
||||
- It is recommended to give your branch a meaningful name, relevant to the feature or fix you are working on.
|
||||
|
@ -49,6 +49,8 @@ Below is an example if you're working on the Pangolin repo.
|
|||
- `fix`
|
||||
- `patch`
|
||||
|
||||
4. If you open a pull request, open it against the `main` branch of the original repository.
|
||||
|
||||
## Pangolin
|
||||
|
||||
- NodeJS v20.10.0
|
||||
|
|
Loading…
Reference in a new issue