A tool for integrating some remote file store (e.g. Dropbox) with a static site generator (e.g. jekyll) with some tools to ease remote updating of the site.
The easiest method to install Rypple is to use RubyGems. To do so, simply install RubyGems, and at the command prompt type:
gem install rypple
For some sites, such as NSFN, this should be modified to:
RB_USER_INSTALL=true gem install rypple
Once installed, Rypple needs to be configured for each site being synced by it. This is done through the rypple command, and can be initiated using the command:
Which kicks off the configuration process. This process will guide you through several important configuration options.
- Rypple site directory. This is the directory to which files will be saved - by default, this is set to $HOME/ryppleSite, but can be changed to any site you wish. This is not the location which will be publicly accessible, so please do not point this at your web server.
- Dropbox API Configuration
- Generate a Dropbox API key/secret pair from their website. IMPORTANT: When creating the key, there is a question about granting the API access to your entire Dropbox folder, or only a sandboxed folder. This option, as far as I can tell, is immutable - Rypple supports either, but be aware of the choice being made.
- Enter the API key and secret.
- Select the API access mode the API key/secret were configured to allow. This option must match what was specified earlier, or else the system won't be able to connect.
- Visit the webpage requested by the setup script to complete the configuration step.
- (Optional) Configure the web host to use Ruby Gems.
- Select the location for the static site generator to output files. This goes into configuring the sync portal for your site.
- (Optional) Enable basic user authentication through a .htaccess file. This allows you to create a user/password combination for the sync portal, so bots don't spam the form to cause your site to update.
- Wait for the first update to complete. Everything should sync and be ready to go!