Git Product home page Git Product logo

bdoi.github.io's Introduction

Bangladesh Olympiad in Informatics site

Setting up

  1. Setup jekyll using the offical documentation.
  2. Checkout to sources branch.
git checkout sources

Local development

  1. To add a new page, copy two markdown files, one for Bangla another for English (index.md and index-bn.md).
  2. Change the title and ref, according to lang.
  3. Write English and Bangla content.
  4. Run the following to see the result locally.
bundle exec jekyll build
  1. Deploy running the deployment script. Commit and push to sources when satistied.
./publish-to-github.sh

The script builds the htmls, stashes current changes, changes to master branch, copies all the files under _site to the root of the repo, commits and pushes to master. The it returns back to source branch and pops the stashed changes.

  1. You can deploy without committing the source to sources. (Always keep the source and the production).
  2. Remember, the master branch is for output htmls, DO NOT commit commit/push anything in that branch. The script does everything for you.

bdoi.github.io's People

Contributors

bdoi-admin avatar himuhasib avatar micuat avatar mirwasi avatar sylvaindurand avatar wasi-ahmed avatar

Watchers

 avatar  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.