Encils
Homepage located at: www.encils.com Dashboard located at: dashboard.encils.com
Quickstart
- Clone the repo:
git clone git@gitlab.com:kazanz/schooltext.git
. - Install the reqs:
pip install -r reqs/dev.txt
.
Dev
to test webhooks you must update the phone number webhook in nexmo to match
the forwarding url provided by ngrok http 8000
. (8000 to match the port
running the django API).
The webhooks needs to link to the ngrok url NGROKHASH.ngrok.io/receive
.
For Production
Deployment
You will need to pip install awscli
(version 1.11.140).
Homepage
aws s3 sync homepage/ s3://encils.com
Dashboard
cd encils && yarn build && aws s3 sync build/ s3://dashboard.encils.com
API
git archive -v -o api-$(git rev-parse --short HEAD).zip --format=zip HEAD --worktree-attributes
.- Upload a new version in the ElasticBeanstalk console. There may be a way to do it with git: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-cli-git.html
Notes
Should abstract out the form submit page / maybe all the pages really that have a basic list
TODO
Add information that makes it easier to share questions. Change the recomendations to be better