1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
forgejo/docs/unsure-where-to-put/dev-notes.md

36 lines
833 B
Markdown
Raw Normal View History

# build
```
2023-10-27 05:50:39 -04:00
TAGS="sqlite" make build generate-swagger
```
# launch local
```
2023-10-27 05:50:39 -04: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 03:27:41 -05:00
# setup a second repo for excosy implementation
git clone https://git.exozy.me/a/gitea.git exosy
2023-11-06 03:12:09 -05:00
# add remotes
git remote add forgejo git@codeberg.org:forgejo/forgejo.git
# rebase on top of forgejo/forge-development
git checkout forgejo-development
2023-11-07 12:01:52 -05:00
git fetch forgejo
2023-11-03 12:05:48 -04: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 12:58:47 -04:00
2023-11-06 03:12:09 -05:00
# continue local development after rebase & force-push has happened
2023-11-03 12:58:47 -04:00
git reset --hard origin/forgejo-federated-star
2023-11-03 12:45:53 -04:00
```