GithubHelp home page GithubHelp logo

john123951 / thedistributedbay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thedistributedbay/thedistributedbay

0.0 1.0 0.0 1.08 MB

An open source distributed implementation of the open bay

Go 91.87% CSS 4.44% JavaScript 3.69%

thedistributedbay's Introduction

TheDistributedBay

The Distributed Bay is a peer-to-peer rewrite of the Open Bay/Pirate Bay. It uses a completely distributed protocol to share entries between numerous nodes, this makes it nearly impossible to take down by seizure of servers. Each node contains a complete copy and any changes are propagate through the network.

Screen Shots

Running with Docker

On Ubuntu 14.10:

sudo apt-get install docker.io
sudo docker run thedistributedbay/thedistributedbay

Docker is a container deploying environment that provides automated container images from git.

The Distributed Bay Registry page: https://registry.hub.docker.com/u/thedistributedbay/thedistributedbay/

Running Manually

Assuming you have Go and the GOPATH correctly configured all you have to do is run:

go get github.com/TheDistributedBay/TheDistributedBay
go install github.com/TheDistributedBay/TheDistributedBay

$GOPATH/bin/TheDistributedBay

Development

Backend/Core

The Distributed Bay is primarily written in Go.

GoDoc

To get the source code install Go, configure the GOPATH and then run:

go get github.com/TheDistributedBay/TheDistributedBay

The source code will be available in $GOPATH/src/github.com/TheDistributedBay/TheDistributedBay.

Frontend

The frontend is written in AngularJS and located in frontend/angular/app.

The compiled frontend assets are checked into Git. This is done so the backend developers don't need to worry about the frontend and to make deployments easier.

To edit the frontend you'll need to first install Node.js or io.js.

You'll also need to install Ruby and the gem compass.

Once done, navigate into the frontend/angular folder and install the dependencies.

cd frontend/angular
npm install
npm install -g bower grunt-cli
bower install
gem install compass

Grunt is used to handle compilation of the frontend. To tell Grunt to automatically recompile the SCSS files run:

grunt serve

You'll also need to tell the backend to serve the development assets from frontend/angular/app instead of the production ones in frontend/angular/dist. You can do this by running:

go run main -devassets=true

thedistributedbay's People

Contributors

c00w avatar d4l3k avatar

Watchers

 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.