joinpeertube/README.md

46 lines
716 B
Markdown

# JoinPeerTube
## Dev
```
$ yarn install --pure-lockfile
$ npm run serve
```
## Build for production
```
python3 generate-instances-list.py
# docker build . -f docker/Dockerfile -t joinpeertube
# docker run -it --rm -p 8080:80 --name joinpeertube joinpeertube
```
## Update translations
Add Weblate remote:
```
$ git remote add weblate https://weblate.framasoft.org/git/joinpeertube/main
```
Update from Weblate:
```
$ git fetch weblate && git merge weblate/master
```
Re generate translations:
```
$ npm run i18n:update
```
Push on master (Weblate will be automatically updated)
```
$ git push origin master
```
## Add locale
Add the locale in `src/main.js` and `Makefile`. Then update translations.