Project Info - drewswu/BadassCMS GitHub Wiki
Maintained by: @drewbiewubie
The server_setup script will install git, node and wheat.js. It will then create a new empty git repo and then create the necessary directory structure inside the repo for wheat blogging.
The blog files are located in the git repo. There is a server.js script that node will use to host the server. To update the blog you'll need to git push using the ssh protocol.
Because the Amazon free instance only has one processor we can really only run one node server instance. If this were upgraded to a medium instance with multiple CPU's then we could run n-1 node server instances and use one instance as a Layer 7 router.
The ports exposed by the server are:
The node working directory is:
/home/ec2-user/
The git repo's are located in:
/data/git/
The blog directory is located in:
/data/git/blog.git
To commit to the blog repo you'll need to run:
git clone ec2-user@XXXXXXXX:/data/git/blog.git