Embedded integration of some CRM with SMS-Fly gateway via iframe.
- If you use OS X or Windows, first install VirtualBox and vagrant and then install
vargant-vaggaplugin (vagrant plugin install vagrant-vagga). After that runvagrant upto populate VM image. - If you use GNU/Linux based OS, just install vagga
- Populate
.envfile with environment variables, such asDEBUG,DATABASE_URL,CRM_DB_URL,SMSFLY_ID,SMSFLY_PASS,DJANGO_DEBUG_LOG,DJANGO_LOG_LEVEL - Install
pre-commitwithpip install pre-commit; pre-commit installin your environment to make sure your code conforms basic rules
Navigate to repo root in your terminal and then run:
$ vagga run-cachedN.B. in case of non-linux installation, prepend that with vagrant.
Now you should be able to open the /app in browser
Just check deploy/ folder and run corresponding playbook with ansible. Store environment variables in deploy/roles/smsapp/templates/smsapp.env first (see smsapp.env.example).
Please remember to pass crm_user_id GET param in order to identify current user of an external CRM.
