username: postgres
password: 1234
- Install depencies:
The following commands need to be executed under
home/frontend
.
npm install
- Start the development server:
npm run serve
- Start the development server:
python manage.py runserver
- Build the VueJS app for production deployment:
npm run build
- Collect static files built from VueJS app for Django:
python manage.py collectstatic
python manange.py runserver
- Install Python dependencies in a virtual environment:
python3 -m venv env
pip install -r requirements.txt
- Create a database named Journey-Make-It-Easy.
- Make and migrate migrations:
python3 manage.py makemigrations
python3 manage.py migrate
- Add initial data to the database for UI rendering.
# api/utils
python3 add_database.py vietnam.json
- In the first time run, change INIT = 1 in rcs.py and run python manage.py runserver
- send a post request to graphql
{
createFakeData
}
- stop server, change INIT = 0 in rcs.py and run again