Using docker. (If you got docker installed)
Manual set up.
docker-compose up
Requirements.
install virtual env
sudo pip3 install virtualenv
Create the virtual environment
virtualenv .pycon_venv
# (This command is specifying the version of python to use when creating the virtual env)
virtualenv .pycon_venv
Activate the virtual env
source .pycon_venv/bin/activate
Install USSD airflow and its dependencies
pip install -r requirements.txt
Apply the migrations created.
python manage.py migrate
Verify screens are valid.
python manage.py validate_ussd_journey ./register_app/customer-journey.yml
Run the server
python manage.py runserver 8000
(Ngrok will be used route USSD traffic from your phone to the USSD server we have just runned)
Download ngrok from https://ngrok.com/download
Unzip ngrok unzip /path/to/ngrok.zip
Run ngrok
./ngrok http 8000
#If you are running the server on a different port. Use that port here.
Obtaining a short code.
Copy the URL generated by Ngrok. Sample URL Sample URL http://b58131f5.ngrok.io Either http or https is fine
Using your browser visit MUSALE FORMS URL.
Post the URL generated by ngrok to receive a short code
Dial via you cell phone and interact with the menus that you have created.
Content type
Image
Digest
Size
271.3 MB
Last updated
about 9 years ago
docker pull kioni/unregisteredussd