tower-buddy
v0.0.93
Published
Server side website manager for Tower Website projects.
Readme
Getting Started
This application will run a series of shell scripts via a node application.
Install NPM dependencies
Start by installing npm dependencies: npm install
Run the Init Script to establish the setup
Run the following command: npm run init
Creates env file
A .env file will be created with initializations of several empty/placeholder variables.
Clones project repos
- Layout project
- Content project
Add the appropriate environment variables
In .env you must fill out the appropriate values pertaining to your specific website project.
DOMAIN: The domain name for the website.PORT: The port number for the webhook app (e.g., 5000).LAYOUT_REPO: This is preset to"@gitlab.com:beanxai/bean-template.git".CONTENT_REPO: The clone url for the website's content repo.EMAIL: The email address for SSL certificate notifications (optional).
Run the Registration Script
Run the following command: npm run domain
The above command will register the domain or subdomain in the DigitalOcean account.
Run the Installation Script
Run the following command: npm run install
The above command will install the website server instance, the website document root, and the webhook listener application.
