joinpeertube/README.md

45 lines
665 B
Markdown

# JoinPeerTube
## Dev
```
$ yarn install --pure-lockfile
$ npm run serve
```
## Build for production
```
# sudo docker build . -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.