This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
Running orbit #165
Comments
That is not finished in go-ipfs. So can't do.
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 |
We also need:
|
ghost
mentioned this issue
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 |
ghost
changed the title
Running js-ipfs
Running orbit
Jun 7, 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
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.
What do we need?
@diasdavid @haadcode @dignifiedquire
The text was updated successfully, but these errors were encountered: