-
Open
.../mooving/mooving-dev-ops/firebase/config.json
-
Set
version.updateUser.email
to the id of an admin firebase service account (e.g.[email protected]
) -
Open
.../mooving/mooving-flow/k8s/environments/local/params.libsonnet
-
Set
GCP_PROJECT
to your GCP project id -
Set
GCP_BUCKET_PATH
to a a GCS bucket path -
Set
end-ride/gcsBucket
to a a GCS bucket path for invoices -
Set
end-ride/GCP_CREDENTIALS_FILE_NAME
under to filename of a JSON service account file. -
Set
token-txn/ethNodeUrl
to your eth wallet address. -
Open
.../mooving/mooving-api/k8s/environments/local/params.libsonnet
-
Set
GCP_PROJECT
underowner-deployment
,rider-deployment
anddav-rate-update-job
to your GCP project id. -
Set
MAILGUN_DOMAIN
underowner-deployment
andrider-deployment
to your MAILGUN domain. -
Under
rider-deployment
setBLUE_SNAP_USER_NAME
,BLUE_SNAP_USER_NAME_TEST_USER
to BlueSnap credentials -
Under
rider-deployment
setIOS_APP_ID
to your iOS app id. -
Under
rider-deployment
setGCP_CREDENTIALS_FILE_NAME
to the name of the service account file. -
Under
rider-deployment
setINVOICES_BUCKET_NAME
to a GCS Bucket name. -
Set
hostName
underrider-ingress
,owner-ingress
andget-dav-city-ingress
to your hostnames. -
Open
.../mooving/mooving-api/k8s/vendor/nginx/nginx.conf
-
Replace
*.dav.city
with your host. -
Open
.../mooving/mooving-api/k8s/Makefile
-
Set
<GCP_PROJECT>
to your GCP project id. -
Open
.../mooving/mooving-api/src/common/controllers/AccountController.test.ts
-
Set
TEST_USER_PHONE
to some phone number. -
Set
TEST_USER_COUNTRY_CODE
to some phone country code. -
Open
.../mooving/mooving-api/src/common/controllers/AccountController.ts
-
Set
TEST_USER_PHONE_NUMBER
to some phone number. -
Set
TEST_USER_COUNTRY_CODE
to some phone country code. -
Open
/data/shahar/code/mooving/mooving-api/src/owner/TestUserApi.test.ts
-
Set
TEST_USER_PHONE_NUMBER
to some phone number. -
Set
REGULAR_USER_PHONE_NUMBER
to some phone number. -
Open
.../mooving/mooving-api/src/rider/controllers/AccountController.ts
-
Set
GCS_BUCKET
to your GCS bucket. -
Open
.../mooving/mooving-api/src/rider/controllers/DeeplinksController.ts
-
Set
<IOS_APP_ID>
to your ios app id. -
Set
<HOSTNAME>
to your hostname -
Set
<ITUNES_URL>
to your itunes url -
Open
.../mooving/mooving-api/local-env.sh
-
Set
TWILIO_API_KEY
,BLUE_SNAP_USER_NAME
,BLUE_SNAP_PASSWORD
,BLUE_SNAP_USER_NAME_TEST_USER
andBLUE_SNAP_PASSWORD_TEST_USER
cd ksonnet
make install
sudo apt install parallel
Then:
sudo apt install python-pip
pip install cqlsh
{
"WantReportError": true,
"cpus": 6,
"dashboard": true,
"disk-size": "30GB",
"ingress": true,
"memory": 16000,
"profile": "minikube",
"vm-driver": "kvm2"
}
- Edit
~/.cassandra/cqlshrc
with the following content:
[cql]
version=3.4.4
Setup NodeJS
Run:
minikube start
Edit ./Makefile
and replace secret values with real values (e.g. <<YOUR_CMC_API_KEY>>)
cd to dev-ops
folder and run:
make secrets-setup
And then run:
make deploy
Edit k8s/environments/local/params.libsonnet
and replace secret values with real values (e.g. <<YOUR_CMC_API_KEY>>)
Edit Makefile
and replace <<GCP_PROJECT_ID>> with your project id.
cd to flows
folder and run:
make deploy
Edit k8s/environments/local/params.libsonnet
and replace secret values with real values (e.g. <<YOUR_CMC_API_KEY>>)
Edit k8s/Makefile
and replace secret values with real values (e.g. <<YOUR_CMC_API_KEY>>)
cd to api
folder and run:
make deploy
Use either:
kubectl port-forward -n mooving svc/api-rider 3005:80
Or:
kubectl port-forward -n mooving svc/api-owner 3005:80
Edit local-env.sh
and replace secret values with real values (e.g. <<YOUR_CMC_API_KEY>>)
cd to dev-ops
folder and run:
make proxy-all
Note: DO NOT CLOSE THE PROXY TERMINAL
cd to api
folder and run:
npm i
Then run either:
make start-rider
Or:
make start-owner
cd to 'app' folder and run
make start-android-emu
Then run either:
make android-rider-local
Or:
make android-owner-local
cd to 'app' folder and run
Then run either:
make ios-rider
Or:
make ios-owner