Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileStream install guide tweeks (Ubuntu) #50

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

TileStream install guide tweeks (Ubuntu) #50

nvkelso opened this issue Jun 29, 2011 · 3 comments

Comments

@nvkelso
Copy link

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
Copy link

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
Copy link

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.

@nvkelso
Copy link
Author

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
Labels
None yet
Development

No branches or pull requests

2 participants