Jamal
Jamal is a lightweight tool to deploy static websites to remote web servers.
Prerequisites
- A remote server running Ubuntu or Debian (we only support these for now).
- Ports 22 (SSH), 80 (HTTP) and 873 (rsync) open and accessible from the internet.
Installation
gem install jamalUsage
- Run
jamal initto initialize the configuration file_jamal.yml. - Edit the
_jamal.ymlfile to match your server configuration. - Run the
jamal setupcommand to setup the server. - Run the
jamal deploycommand to deploy your website.
Configuration
The _jamal.yml file is used to configure the server. It contains the following fields:
-
name: The name of the website, this acts like an identifier for the website. -
host: The hostname of the server. -
user: The username of the server. -
password: The password of the server. -
domains: The domains of the website. -
local_path: The path to the website on your local machine.
License
This project is licensed under the MIT License - see the LICENSE file for details.