Skip to content

Latest commit

 

History

History
96 lines (63 loc) · 1.5 KB

README.md

File metadata and controls

96 lines (63 loc) · 1.5 KB

codefornepal.github.io

To build a new device agnostic and low bandwidth friendly website of Code for Nepal.

Jekyll instance of codefornepal.org

Admin page to easily publish blogs

You need to be a blog publisher to access the following:

https://codefornepal.org/admin

Design Guidelines

These are our brand color schemes.

Red: #E00015
Blue: #00ADEF
White: #FFFFFF 
Light gray: #FCFBFB

Install in Linux Fedora / Ubuntu

Step 1

  • Fedora
$ sudo dnf install ruby-devel
$ sudo dnf groupinstall development-tools rpm-development-tools c-development
  • Ubuntu
$ sudo apt-get install ruby-full
$ sudo apt-get install build-essential zlib1g-dev

Step 2

$ gem install bundler

Step 3

$ git clone https://github.com/<yourusername>/codefornepal.github.io.git
$ cd codefornepal.github.io/
$ git remote add upstream https://github.com/CodeforNepal/codefornepal.github.io.git 

Step 4

$ bundle install

Step 5

$ bundle exec jekyll serve

Go to -> http://127.0.0.1:4000/

Optional

  • To make server accessible in Network and in diffrent port
$ bundle exec jekyll serve --host=0.0.0.0 --port=3000

Go to -> http://<local_ip_of_machine>:3000/

Keep Fork Updated

$ git fetch upstream 
$ git pull upstream master
$ git push origin master