Skip to content

Setting up Sealious for development

Kuba Orlik edited this page Nov 24, 2015 · 16 revisions

First of all, it's recommended to set up your environment so you don't need sudo to npm install packages

The setup is pretty lengthy, but we've prepared a short-cut for you:

curl https://raw.githubusercontent.com/Sealious/Sealious/dev/dev-setup.sh | bash

Running the above line is equivalent to calling:

#!/bin/sh

(git clone --depth 100 https://github.com/Sealious/Sealious.git) &
(git clone https://github.com/Sealious/sealious-www-server.git) &
(git clone https://github.com/Sealious/sealious-channel-rest.git) &

wait

(
        cd Sealious;
        npm install && npm link;

        cd ../sealious-www-server;

        npm install;
        npm link sealious;
        npm link;

        cd ../sealious-channel-rest;

        npm install;
        npm link sealious;
        npm link sealious-www-server;
        npm link;
) &
(git clone  https://github.com/Sealious/hello-world.git)&


wait;

cd hello-world
npm link sealious;
npm link sealious-www-server;
npm link sealious-channel-rest;

Download .sh file or use one line command

curl https://raw.githubusercontent.com/Sealious/Sealious/dev/dev-setup.sh | bash
Clone this wiki locally