Automated setup of development environment - Ubuntu 14.04 LTS
I'm putting together a script to install Loomio dev. env. easily:
https://github.com/sicambria/sh/blob/master/deploy/loomio1404-dev1.sh
https://github.com/sicambria/sh/blob/master/deploy/loomio1404-dev2.sh
It seems good so far. However, at localhost:3000, using email "[email protected]" and password "bootstrap_password" I get "Invalid email address or password."
How could I login?
James Kiesel Mon 25 Apr 2016 11:05PM
I'm writing a quickstart guide which will make this info a bit easier to access: https://github.com/loomio/loomio/blob/quickstart/docs/en/development_handbook/quickstart.md
FSF1967 Tue 26 Apr 2016 7:18AM
Thank you
For this installation I begin again has to leave a new virtual machine or it is to be made following the installation described in this tuto https://github.com/loomio/loomio/blob/master/docs/en/development_handbook/setup_development_environment.md ?
I follow your instructions:
rake bootstrap
cd angular
gulp dev
and the system returns me this message
~/projects/loomio/angular# gulp dev
No command 'gulp' found, did you mean:
Command 'gslp' from package 'ghostscript' (main)
gulp: command not found
GasparI Tue 26 Apr 2016 8:18AM
This helped me:
sudo ln -s /usr/bin/nodejs /usr/bin/node
I'm updating my installer scripts (on the top) very soon - I'd appreciate feedback if you can try them out.
James Kiesel Tue 26 Apr 2016 8:31AM
That error message suggests that gulp isn't installed, although rake bootstrap
should be installing gulp for you. What's the output of npm install -g gulp
?
FSF1967 Tue 26 Apr 2016 8:27AM
No problem
Update your scripts and i test them immediatly.
"sudo ln -s /usr/bin/nodejs /usr/bin/node" don't solved the gulp dev command returns
FSF1967 Tue 26 Apr 2016 8:50AM
With the good line of command for the installation it gets much better but i have an error: Error: Cannot find module 'gulp-sass'
FSF1967 Tue 26 Apr 2016 8:56AM
arghhh i always have a blank page after login to localhost:3000 :(
GasparI Tue 26 Apr 2016 3:51PM
Oh joy! Up and runnin' in less than 20 minutes - tested on a vanilla Ubuntu VM :)
cd;wget https://raw.githubusercontent.com/sicambria/sh/master/deploy/loomio1404-dev1.sh; chmod +x loomio1404-dev1.sh;./loomio1404-dev1.sh
cd;wget https://raw.githubusercontent.com/sicambria/sh/master/deploy/loomio1404-dev2.sh; chmod +x loomio1404-dev2.sh;./loomio1404-dev2.sh
@jameskiesel - the 2nd script is almost the same as the 1st (just less commands) - do you know why it's not successful for the first time?
FSF1967 Wed 27 Apr 2016 8:22AM
Thank you for your fantastic job
I'm using your scripts on my ubuntu 14.04LTS VM and have launch the first script.
gulp still runs but the script remains blocked at this level:
Robert Guthrie · Mon 25 Apr 2016 9:15PM
Hi. You need to
cd angular
gulp dev
Then visit localhost:3000 again.