Update README.md

This commit is contained in:
Phuoc Dinh Le 2021-01-02 02:38:57 -06:00 committed by GitHub
parent 9e40830ff5
commit 878f448073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,15 +77,15 @@ node websocket/daemon.js
Most of the steps are similar to Django tutorials. Here are two usual steps: Most of the steps are similar to Django tutorials. Here are two usual steps:
1. Update vietnamese translation: 1. Update vietnamese translation:
- If you add any new phrases in the code, ```bash python manage.py makemessages``` - If you add any new phrases in the code, ```python manage.py makemessages```
- go to `locale/vi` - go to `locale/vi`
- modify `.po` file - modify `.po` file
- ```bash python manage.py compilemessages``` - ```python manage.py compilemessages```
- ```bash python manage.py compilejsi18n``` - ```python manage.py compilejsi18n```
2. Update styles (using SASS) 2. Update styles (using SASS)
- Change .css/.scss files in `resources` folder - Change .css/.scss files in `resources` folder
- ```bash ./make_style && python manage.py collectstatic``` - ```./make_style && python manage.py collectstatic```
- Sometimes you need to `Ctrl + F5` to see the new user interface in browser. - Sometimes you need to `Ctrl + F5` to see the new user interface in browser.
## Screenshots ## Screenshots