Coder Social home page Coder Social logo

smcamara / unfoldingword.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unfoldingword/unfoldingword.github.io-old

0.0 0.0 0.0 18.86 MB

Deprecated

Home Page: https://www.unfoldingword.org/

Ruby 9.55% Makefile 0.18% HTML 12.34% Python 3.29% CSS 32.16% JavaScript 37.59% TypeScript 3.34% Shell 1.56%

unfoldingword.github.io's Introduction

master | Build Status

develop | Build Status

unfoldingWord.bible

Source for the unfoldingWord.bible website.

Developer Setup

Installation

To setup a development environment for developing on this site, you need to run the following commands (after cloning this repo):

cd unfoldingWord.github.io
bundle install

If you do not have the bundle executable, then you'll need to run sudo gem install bundle first. You may also need to run sudo apt-get install libz-dev ruby-dev in order to satisfy all dependencies.

Updating dependencies

bundle update

How to run site locally

Run the following to have the site served locally.

bundle exec jekyll serve

To just build and test, run:

./cibuild.sh

Publishing Setup

There are two branches that are built and deployed to S3 by Travis CI:

  • develop
  • master

The develop branch may be seen online at http://dev.unfoldingword.bible.s3-website-us-west-2.amazonaws.com/.

The master branch is available at https://unfoldingword.bible.

Pre Production Testing

You may run make test, or make build, or make serve to test and review your changes locally. Once the cibuild.sh script passes successfully locally, you may commit and push to the develop branch. You can do this by running make commit.

Push to Production

If Travis CI has built and deployed the develop branch successfully, you may merge it into the master branch. You can do this by running make publish. Your changes should be visible within 5 minutes on https://unfoldingword.bible.

OBS Publishing

Please note, you must add an entry to the "keep_files" directive in _config.yml when you want to add a new language for OBS.

Syncing Assets

The /assets directory is currently managed by a Resilio Sync folder shared among the developers (ask if you need access). However, in order to synchronize these assets to the develop and production S3 buckets you must run make assets. This process will not remove assets from the /assets folder, only add or update existing files.

Custom YAML Values

  • header_image: Used as the src for an img tag
  • header_image_layout: Currently the only value supported is 'icon'
  • header_title: The text for the page H1 tag
  • header_title_style: Specifies the H1 background, either 'light' or 'dark' (default is 'light')

Open source acknowledgements

unfoldingword.github.io's People

Contributors

jag3773 avatar phillip-hopper avatar codemis avatar benjore avatar timjore avatar toddlprice avatar russp41 avatar

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.