Skip to content

thenextbilliononline/thenextbillion.online

Repository files navigation

This is the code for the public facing website thenextbillion.online.

Index:

Local Installation:

1. Clone the repo locally

If you're on Debian Linux (including Ubuntu, Raspian), you might have to install git first.
sudo apt-get install git git config --global user.name "Your Name Here"
git config --global user.email "[email protected]"

git clone https://github.com/thenextbilliononline/thenextbillion.online.git

If you're on a Mac, skip to step 2

2. Setup correct dev environment

In order to install ruby gems and node you will need to set up your dev environment.

Macs:

Open your terminal and type (or copy/paste) each line below, one at a time. Press enter after each line

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo apt install npm xcode-select —install
brew update
brew install git
git clone https://github.com/thenextbilliononline/thenextbillion.online.git
brew install rbenv ruby-build node
eval "$(rbenv init -)"
git config --global user.name "Your User Name Here"
git config --global user.email "[email protected]"

Debian-based Linux systems (including Ubuntu, Raspian):
cd thenextbilliononline
[sudo] apt-get install ruby-dev ruby-bundler nodejs

Other: idk you might have to use Le google, when you get an error to find out. And then when you figure it out please update this readme!

3. Install dependencies

NOTE: First you must cd inside of the repo you just cloned. Cd is a script in all UNIX systems that allows you to change directory.

cd thenextbillion.online

Then you will create a Gemfile and install the ruby dependencies. Again, enter these one at a time.

sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev 
touch Gemfile
echo -e "source 'https://rubygems.org'\ngem 'github-pages', group: :jekyll_plugins" > Gemfile  
sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev   
bundle install  

4. Run the server

bundle exec jekyll serve

Open your browser and go to http://127.0.0.1:4000/

5. Committing Changes to the Repo

Once you make your changes, you must use git. From your terminal, run each of these one at a time. Press enter after each line.

git add --all git commit -m "tell us what changes you made here" git push origin feature/pick-a-branch-name"`

What this does is submite a 'pull-request' where administrators can review your code and make it work.

Feature requests

Feature TDL:

Report bugs

You can create a new issue here.

About

Main splash site

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENCE
Unknown
license.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published