Closed john-hu closed 2 years ago
The flow could be
~/recipe
to `/opt/silverplate{hash}//opt/silver_plate/version
to /opt/silver_plate_{hash}/old_version
/opt/silver_plate_{hash}/version
with the hash as its contentpython manage.py collectstatic
for build static filespython manage.py migrate
for update DB if we need it.python manage.py runscript create_schema --script-args http://localhost:8983/ recipe
for update cutting board schema/opt/silver_plate
to `/opt/silverplate{hash}/opt/silver_plate_{old_hash}
deployed to AWS
depends on #47