CodeforNepal / codefornepal.github.io

To build a new device agnostic and low bandwidth friendly website of Code for Nepal.
https://codefornepal.github.io
Apache License 2.0
3 stars 18 forks source link

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

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

Step 2

$ gem install bundler

Step 3

Step 4

$ bundle install

Step 5

$ bundle exec jekyll serve

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

Optional

$ 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