Skip to content
Snippets Groups Projects
Commit 9e0ff2a3 authored by Georg Krause's avatar Georg Krause
Browse files

docs: Adjust Readme to show new commands, add some more to the Makefile

parent 7aec459f
No related branches found
No related tags found
1 merge request!64Start migration to pelican
......@@ -95,3 +95,9 @@ i18n_extract:
i18n_compile:
poetry run pybabel compile -f --directory translations/ --domain messages
test:
poetry run pytest test_ns.py
lint:
poetry run djlint --reformat .
# funkwhale.audio
## Project setup
```
# Dependencies for internationalization
apt-get install gettext jq
yarn install
```
In order to develop for the website, you need to have the following packages installed:
- poetry
- make
### Compiles and hot-reloads for development
```
yarn run serve
make devserver
```
### Compiles and minifies for production
```
yarn run build
make publish
```
### Run your tests
```
yarn run test
make test
```
### Lints and fixes files
```
yarn run lint
make lint
```
### Translations
To extract the strings from the source files, run
```
make i18n_extract
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Before publishing, the translations need to be compiled:
```
make i18n_compile
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment