Coder Social home page Coder Social logo

hackforco's Introduction

Shout Out - Hack For Colorado

Getting Started

Clone & Init Gitmodules

First clone the repo:

git clone [email protected]:cScarlson/hackCO hackCO
cd !$

We're using a gitmodule for NDN.js - so you'll need to init this with:

git submodule init
git submodule update

Then, when there are upstream changes to the NDN module, you'll need to update again:

git submodule update

Install CCNx

You'll need to install CCNx. Here's the official docs.

There are also a ton of resources that can be found at the Nei.ghbor.Net Ground repo.

If you're on OSX, this should be simple with brew.

brew install https://raw.github.com/dcunited001/homebrew/dc/ccn-keggar/Library/Formula/ccnx.rb

Note about ccngetfile and ccnputfile

If you have problems where these or other javasrc/ binaries are missing, you may need to build from source and call sudo make install.

If you're on Linux, check out the official install guide.

Basically, check out the list of dependencies and make sure you have them all. Use your package manager to download the ones you need, then download the CCNx source tarball. Then build from source and make sure the binaries end up in your path.

Install Node/NPM

On OSX:

brew install node

Verify with:

node --version
npm --version

Install Node Foreman

Using NPM:

npm install -g foreman

Now copy Procfile.example & .env.example

cp Profile.example Procfile
cp .env.example .env

Alchemy API App

Set up with:

BUNDLE_GEMFILE=relay-alchemy/Gemfile bundle install

Run with Foreman or with Unicorn:

BUNDLE_GEMFILE=relay-alchemy/Gemfile bundle exec unicorn alchemy.ru

Run CCNx & Node Server

Using Foreman:

nf start

Or run scripts in background:

ccndstart
CCNR_DIRECTORY=ccnr &
node app.js

View in Browser

hackforco's People

Contributors

dcunited001 avatar cscarlson avatar

Stargazers

 avatar Ryan Bennett avatar Samus Gray avatar

Watchers

Andrew Van Tassel avatar James Cloos avatar Samus Gray avatar  avatar Alex Vanston avatar Ryan Bennett 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.