Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Running orbit #165

Closed
3 tasks
ghost opened this issue May 25, 2016 · 5 comments
Closed
3 tasks

Running orbit #165

ghost opened this issue May 25, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented May 25, 2016

What do we need?

  • /ws bootstrappers (separate ipfs network)
  • /webrtc-star signaling servers
    • how many
    • or will they become obsolete once we have the /ws bootstrappers?
  • more?

@diasdavid @haadcode @dignifiedquire

@daviddias
Copy link
Member

/ws bootstrappers (separate ipfs network)

That is not finished in go-ipfs. So can't do.

/webrtc-star signaling servers

  • how many
  • or will they become obsolete once we have the /ws bootstrappers?

We need two, one to be the default and another ones for demos (so that we keep it nice and clean).

Signalling Server won't become obsolete with /ws bootstrappers. It would require relay to be in place in IPFS so that the Signalling can happen through IPFS

@jbenet
Copy link
Member

jbenet commented May 25, 2016

We also need:

@ghost
Copy link
Author

ghost commented May 25, 2016

orbit-server:

Vagrant.configure(2) do |config|
  config.vm.box = "digital_ocean"
  config.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
  config.vm.synced_folder ".", "/vagrant", disabled: true

  config.vm.define "orbit-server" do |node|
    node.vm.provision "shell", inline: <<-SHELL
      sudo apt-get update
      sudo apt-get install -y python gcc make g++ git build-essential tcl8.5
      sudo apt-get install -y wget htop screen nano

      wget --quiet https://nodejs.org/dist/v4.4.4/node-v4.3.0-linux-x64.tar.gz
      tar -C /usr/local -zxf node-v4.4.4-linux-x64.tar.gz --strip 1

      wget --quiet http://download.redis.io/releases/redis-stable.tar.gz
      tar xzf redis-stable.tar.gz
      cd redis-stable
      make
      sudo make install

      screen -X -S redis quit
      echo 'bind 127.0.0.1' >> ./redis.conf
      echo 'port <port>' >> ./redis.conf
      echo 'requirepass <password>' >> ./redis.conf
      nohup screen -S redis -d -m redis-server ./redis.conf

      screen -X -S webrtc quit
      sudo npm install -g libp2p-webrtc-star
      nohup screen -S webrtc -d -m star-sig

      screen -X -S server quit
      sudo rm -rf /orbit-server
      sudo mkdir /orbit-server
      cd /orbit-server
      git clone https://github.com/haadcode/orbit-server.git
      cd orbit-server
      npm install --production
      export REDIS_PASSWORD=<password>
      export REDIS_PORT=<port>
      nohup screen -S server -d -m npm start

    SHELL

    node.vm.provider :digital_ocean do |provider, override|
      override.ssh.private_key_path = "~/.ssh/digital-ocean"
      override.vm.box               = 'digital_ocean'
      override.vm.box_url           = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
      provider.token                = '<insert_your_DO_token_here>'
      provider.image                = 'ubuntu-14-04-x64'
      provider.region               = 'AMS3'
      provider.size                 = '512mb'
    end
  end

end

@haadcode
Copy link
Member

@ghost ghost changed the title Running js-ipfs Running orbit Jun 7, 2016
@ghost
Copy link
Author

ghost commented Jul 10, 2016

This runs on orbit.libp2p.io for now, through the ipfs.io gateway -- needed a non-https domain because we don't have https multiaddrs yet.

@ghost ghost closed this as completed Jul 10, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants