Project Info - drewswu/BadassCMS GitHub Wiki

Welcome to the BadassCMS wiki!

Maintained by: @drewbiewubie


Installation Process


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.

Layout

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.

Performance Tuning

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.

Networking

The ports exposed by the server are:
  • 22 ssh, git
  • 80 http


  • Working Directories

    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
    ⚠️ **GitHub.com Fallback** ⚠️