Update UbuntuInstallation.md
This commit is contained in:
parent
bf7b25f7de
commit
36e84d61fd
1 changed files with 2 additions and 29 deletions
|
@ -40,29 +40,7 @@ alright now we can download metamaps from the master using git
|
||||||
|
|
||||||
git clone https://github.com/metamaps/metamaps_gen002.git
|
git clone https://github.com/metamaps/metamaps_gen002.git
|
||||||
|
|
||||||
now there is a couple other things we are going to need which is phantomjs, nodejs, postgresql, libpq-dev and redis-server
|
now there is a couple other things we are going to need which is nodejs, postgresql, libpq-dev and redis-server
|
||||||
|
|
||||||
|
|
||||||
// 64 bit ubuntu
|
|
||||||
cd /usr/local/share
|
|
||||||
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
|
|
||||||
sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
|
||||||
|
|
||||||
|
|
||||||
// 32 bit ubuntu
|
|
||||||
cd /usr/local/share
|
|
||||||
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-i686.tar.bz2
|
|
||||||
sudo tar xjf phantomjs-1.9.7-linux-i686.tar.bz2
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/share/phantomjs
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
|
|
||||||
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/bin/phantomjs
|
|
||||||
|
|
||||||
// on either running
|
|
||||||
phantomjs -v
|
|
||||||
// will confirm it's installed
|
|
||||||
|
|
||||||
sudo apt-get install nodejs
|
sudo apt-get install nodejs
|
||||||
|
|
||||||
|
@ -113,7 +91,7 @@ Execute the server:
|
||||||
|
|
||||||
rails s
|
rails s
|
||||||
|
|
||||||
and dont forget to run the two other servers, for sidekiq, and realtime...
|
and dont forget to run the other server for realtime...
|
||||||
open a new terminal
|
open a new terminal
|
||||||
navigate to ./realtime and run
|
navigate to ./realtime and run
|
||||||
|
|
||||||
|
@ -121,11 +99,6 @@ navigate to ./realtime and run
|
||||||
npm install
|
npm install
|
||||||
nodejs realtime-server.js
|
nodejs realtime-server.js
|
||||||
|
|
||||||
open a new terminal
|
|
||||||
navigate to the main directory and run
|
|
||||||
|
|
||||||
sidekiq
|
|
||||||
|
|
||||||
Now you're all set enjoy your personal server of metamaps :)
|
Now you're all set enjoy your personal server of metamaps :)
|
||||||
|
|
||||||
Navigate your browser to localhost:3000 once you have the server running
|
Navigate your browser to localhost:3000 once you have the server running
|
||||||
|
|
Loading…
Reference in a new issue