TileStream install guide tweeks (Ubuntu) #50

Closed
nvkelso opened this Issue Jun 29, 2011 · 3 comments

Projects

None yet

2 participants

@nvkelso
nvkelso commented Jun 29, 2011

These comments from a friend who installed TileStream and ran into some Ubuntu ambiguity over where to download and install the apps, provide more inline explanation, getting the right version of required dependences (that are out of synch with the latest version) and setting some permissions.

_n

  1. Install build requirements:
    sudo apt-get install curl build-essential libssl-dev libsqlite3-0 libsqlite3-dev

  2. Install node and nmp

    Prerequisites: Git and OpenSSL

    sudo apt-get updatesudo apt-get install git-core
    sudo apt-get install build-essential openssl libssl-dev

    use Git to install the latest version of Node.js

    git clone https://github.com/joyent/node.git && cd node

    Get the required version for tilestream

    git checkout v0.4.7
    ./configure
    make
    sudo make install

    test the version

    node -v

    to install NPM you will need to install curl

    sudo apt-get install curl

    don’t use sudo for the NPM install, just change the permissions to the /usr/local directory so that the installer can do its thing

    sudo chown -R $USER /usr/local
    curl http://npmjs.org/install.sh | sh

  3. Download and unpack TileStream. Build & install:
    cd /opt
    sudo git clone git://github.com/mapbox/tilestream.git
    cd tilestream
    sudo npm install

  4. Start TileStream:
    sudo ./index.js

@willwhite

Thanks for the feedback, @nvkelso. It would be great to continue linking off to the official instructions instructions for node installation. Were there specific problems with them that I could put into an issue report?

Did you happen to try using nvm to install node?

@willwhite

I've made some adjustments to the install guide. I was able to step through the entire process following the README without having to change any permissions. Please reopen if you run into any issues.

@willwhite willwhite closed this Jul 12, 2011
@nvkelso
nvkelso commented Jul 12, 2011

Thanks, Will! I'll have a look.

Sent from my handsful device.

On Jul 11, 2011, at 22:21, willwhite
reply@reply.github.com
wrote:

I've made some adjustments to the install guide. I was able to step through the entire process following the README without having to change any permissions. Please reopen if you run into any issues.

Reply to this email directly or view it on GitHub:
#50 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment