forgejo/docs/unsure-where-to-put/dev-notes.md

37 lines
853 B
Markdown
Raw Normal View History

# build
```
2023-10-27 11:50:39 +02:00
TAGS="sqlite" make build generate-swagger
```
# launch local
```
2023-10-27 11:50:39 +02:00
./gitea admin user create --name me --password me --email "buero@meissa.de"
./gitea admin user generate-access-token -u me -t token --scopes write:activitypub,write:repository,write:user
```
# sync base branch
```
2023-11-06 09:12:09 +01:00
# add remotes
git remote add forgejo git@codeberg.org:forgejo/forgejo.git
git remote add exozy https://git.exozy.me/a/gitea.git
2023-11-06 09:12:09 +01:00
# get the exozy development local
git fetch exozy
git switch -c exozy exozy/main
# rebase on top of forgejo/forge-development
git checkout forgejo-development
2023-11-03 17:05:48 +01:00
git rebase --onto forgejo/forgejo-development
git push --force
git checkout forgejo-federated-star
git rebase forgejo-development
git push --force
2023-11-03 17:58:47 +01:00
2023-11-06 09:12:09 +01:00
# continue local development after rebase & force-push has happened
2023-11-03 17:58:47 +01:00
git reset --hard origin/forgejo-federated-star
2023-11-03 17:45:53 +01:00
```