torus-digital / torus_cms

An open source serverless content management system and static page generator
http://toruscms.org
MIT License
33 stars 3 forks source link

Torus CLI #9

Closed gkpty closed 5 years ago

gkpty commented 5 years ago

The installation process of almost CMS is very tedious because it requires the user to do a bunch of things in the AWS console. Most of these steps can be automated using either the AWS CLI, an AWS CloudFormation file, or the AWS SDK. Writing a script with the SDK is probably the best option in terms of flexibility and convenience for the user.

gkpty commented 5 years ago
gkpty commented 5 years ago

Writing/reading from a json file in node.js

https://flaviocopes.com/how-to-save-json-object-to-file-nodejs/

https://medium.com/@osiolabs/read-write-json-files-with-node-js-92d03cc82824

gkpty commented 5 years ago

need to review the region settings so that everything gets created with the region the user entered in the env variable

gkpty commented 5 years ago

make sure the uniqNow variable is the same for lambda-script and website-script

gkpty commented 5 years ago

write the REST API url to the variables.json file