GruPy-RN Event and Check-in System
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
- Python 3.6+
- Node/NPM/Yarn
A step by step series of examples that tell you how to get a development env running
First of all, make a copy of .env.sample
to .env
cp .env.sample .env
Install the dependencies
pip install -r requirements.txt
Checkout Jararaquinha submodule
git submodule init
git submodule update
Then, refer to Jararaquinha's installation instructions.
Enter in your virtual environment.
Apply the migrations
python manage.py migrate
Create admin user
python manage.py createsuperuser
Compile translations
python manage.py compilemessages -f
Run the project
python manage.py runserver
And also run Jararaquinha in another terminal
yarn start
Now you can open http://localhost:8000 in your browser
- Fork the repository on GitHub.
- Make your change.
- Send a GitHub Pull Request to the main repository’s
master
branch. GitHub Pull Requests are the expected method of code collaboration on this project.
- Prepare message files for the desired language.
python manage.py makemessages --locale <language_code>
Example:
python manage.py makemessages --locale pt_BR
-
Translate the *.po files inside each project application <app_name>/locale/<language_code>/LC_MESSAGES/
-
Compile messages
python manage.py compilemessages -f