Git Product home page Git Product logo

podcast-website's Introduction

Website for the Chaincode Podcast

Building The Site Locally

To build the site, you need to go through a one-time installation procedure that takes 15 to 30 minutes. After that you can build the site an unlimited number of times with no extra work.

Install The Dependencies

Install RVM

Install RVM using either the easy instructions or the more secure instructions.

Read the instructions printed to your console during setup to enable the rvm command in your shell. After installation, you need to run the following command:

source ~/.rvm/scripts/rvm

Install Ruby

To install Ruby 2.6.4, simply run this command:

rvm install 2.6.4

Sometimes this will find a pre-compiled Ruby package for your Linux distribution, but sometimes it will need to compile Ruby from scratch (which takes about 15 minutes).

After Ruby 2.6.4 is installed, make it your default Ruby:

rvm alias create default ruby-2.6.4

And tell your system to use it:

rvm use default

(Note: you can use a different default Ruby, but if you ever change your default Ruby, you must re-run the gem install bundle command described below before you can build the site. If you ever receive a "eval: bundle: not found" error, you failed to re-run gem install bundle.)

Install Bundle

When you used RVM to install Ruby, it also installed the gem program. Use that program to install bundle:

gem install bundle

Install the Ruby dependencies

Change directory to the top-level of your local repository (replace podcast-website with the full path to your local repository clone):

cd podcast-website

And install the necessary dependencies using Bundle:

bundle install

Some of the dependencies can take a long time to install on some systems, so be patient.

Once Bundle completes successfully, you can preview or build the site.

Preview The Site

To preview the website in your local browser, make sure you're in the podcast-website directory and run the following command:

make preview

This will build the site and then print a message like this:

Server address: http://0.0.0.0:4000
Server running... press ctrl-c to stop.

Visit the indicated URL in your browser to view the site.

Build The Site

To build the site exactly like we do for the deployment server, make sure you're in the podcast-website directory and run:

make

The resulting HTML for the entire site will be placed in the _site directory and various tests will be run.

Theme

This website is based on the Basically Basic theme by Michael Rose. License is in Theme-license.txt.

podcast-website's People

Contributors

adamjonas avatar gurwindersahota avatar jnewbery avatar murchandamus avatar s-tikhomirov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

s-tikhomirov

podcast-website's Issues

Remove theme cruft

There are a lot of files in the repo from the jekyll theme (see all the stuff in _includes for example). We should remove it at some point.

pre-launch checklist

  • make sure that @adamjonas and @Caralie are happy to have their twitter handles linked from the 'about' page.
  • embed anchor.fm player and link to download episode to the Pieter post.
  • set up netlify/github pages to host
  • configure dns record for podcast.chaincode.com

Make this repo public?

I only made it private because I didn't want our launch to be scooped.

Making this public would mean people could see the next episode before it's officially 'released', but we need to upload the episode to anchor.fm before we merge the pull request anyway, so I don't think it's a big deal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.