Skip to content

DangerCove/dangercove.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Danger Cove

This is the home page at dangercove.com. It uses Jekyll with the Bulma CSS framework on top.

I try to keep this site straightforward and easy to maintain. Vanilla Jekyll and Bulma make this a breeze.

Development

Here's how to get the project up and running.

Installing dependencies

The only requirements are listed in the Gemfile.

$ bundle install

Running the project

$ bundle exec rake serve

Deployment

Deploying the site builds it with the JEKYLL_ENV environment variable set to production. It then gets the remote path from the REMOTE_PATH environment variable and uses rsync to copy the files over.

$ bundle exec rake deploy

Setting the REMOTE_PATH

You could add it the command each time you run it:

$ [email protected]:/some/path bundle exec jekyll deploy

A more convenient solution would be to create a .env file and store the path there:

$ echo '[email protected]:/some/path' >> .env

After that, just run:

$ bundle exec jekyll deploy