GithubHelp home page GithubHelp logo

ykankaya / orc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xcopyco/orc

0.0 1.0 0.0 20.13 MB

onion routed cloud - distributed, anonymous, secure object storage

Home Page: https://orcproject.github.io/orc

License: GNU Affero General Public License v3.0

Shell 0.36% JavaScript 99.64%

orc's Introduction


The Onion Routed Cloud. ORC is a decentralized, anonymous, object storage platform owned and operated by allies in defense of human rights and opposition to censorship.

Join the discussion in #orc on our community chat!

Build Status | Test Coverage | Node Package | Docker Hub | License (AGPL-3.0)

Warning! ORC is alpha software and is still a highly experimental test network! Be smart, keep backups, and stay safe out there!

Installation

Pull the image from Docker Hub.

docker pull orcproject/orc

Create a data directory on the host.

mkdir ~/.config/orcd

If you are running ORC for the first time, mount the data directory and run it normally.

docker run --volume ~/.config/orcd:/root/.config/orcd orcproject/orc

This will generate a fresh configuration and setup the data directory. Modify the created configuration at ~/.config/orcd/config as desired (see the {@tutorial config}) and send SIGINT to the process (Ctrl+C). If you want to provide storage capacity to the network, be sure to set your desired allocation for ShardStorageMaxAllocation.

Once you are finished, run the ORC container again, but expose the API to the host, mount the data directory, allocate a pseudo TTY, detach the process, and tell docker to keep it running (even starting automatically on system boot).

docker run \
  --publish 127.0.0.1:9089:9089 \
  --volume ~/.config/orcd:/root/.config/orcd \
  --restart always \
  --tty --detach orcproject/orc

Once the container has started, you can use use the guide for {@tutorial api} to interact with it! You can watch your logs with tail -f ~/.config/orcd/orcd.log.

See the docker run documentation for more information. If you prefer to install ORC manually, see the guide for {@tutorial install}. Once installed, simply run orcd with an optional configuration file using the --config <path/to/config> option.

Automatic Security Updates

When running the ORC server installation with Docker, you can configure your node to periodically check for updates and automatically download the latest image and restart your node to make sure you are always running the latest stable release. Since you already have Docker installed, pull the image for Watchtower and run it.

docker pull v2tec/watchtower
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock v2tec/watchtower

Now, Watchtower will check for the latest stable images for running containers and automatically update them.

Development

To hack on the ORC project, clone this repository and use Docker Compose:

git clone https://github.com/orcproject/orc
cd orc
docker-compose up --force-recreate --build

This will volume mount the the appropriate directories for development, and then boots up a complete sandboxed ORC network, including a complete sandboxed Tor network and once bootstrapped, binds port 10089 to the host for full end-to-end testing. The development container does not persist state between runs. Note that stable releases are tagged and the master branch may contain unstable or bleeding-edge code.

Happy hacking!

Resources

License

ORC - Distributed Anonymous Cloud
Copyright (C) 2017 Counterpoint Hackerspace, Ltd.
Copyright (C) 2017 Gordon Hall

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

orc's People

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.