-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.txt
More file actions
32 lines (22 loc) · 1.1 KB
/
README.txt
File metadata and controls
32 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Create a virtual environment to isolate our package dependencies locally
python3 -m venv env
source env/bin/activate
# Install Django and Django REST framework into the virtual environment
pip install django
pip install djangorestframework
# If heroku is not installed:
pip install django-heroku
# If requests is not installed:
pip3 install requests
# If Pillow is not installed:
python -m pip install Pillow
# We'll also create an initial user named admin with a password of password123.
# We'll authenticate as that user later in our example.
python manage.py createsuperuser --email betalink@example.com --username betalink --password password123
# for search OTHERS: USE ZIPCODE 94129, otherwise no result will return
# because prepoluated data come from this zipcode only
python manage.py populateOrderData order/data/orderData.json
python manage.py populateMerchantData merchant/data/merchantData.json
python manage.py populateCustomerData users/data/customerData.json
python manage.py populateProgramData program/data/programData.json
python manage.py populateEnrollmentData program/data/enrollmentData.json