These are chat archives for ushahidi/Community

3rd
Sep 2015
Ushbot
@ushbot
Sep 03 2015 00:01
[Robbie Mackay, Ushahidi] Just realised I could delete lots and lots of code once I ditched 2 unused api endpoints :)
[Robbie Mackay, Ushahidi] .. woop
[Nathaniel Manning, Ushahidi] yay!
Ushbot
@ushbot
Sep 03 2015 03:10
[Robbie Mackay, Ushahidi] "could not load the page, our waffle iron caught on fire"
[Robbie Mackay, Ushahidi] ^ thanks waffle.io
[Robbie Mackay, Ushahidi] at least I laughed
Ushbot
@ushbot
Sep 03 2015 06:31
[Angela Oduor Lungati, Ushahidi] Guddamorning good people!! :)
Ushbot
@ushbot
Sep 03 2015 06:43
[Jason Mule, Ushahidi] Morning!
Ushbot
@ushbot
Sep 03 2015 13:01
[Luis Miguel Sanchez-redhumus.org] Hi, I'm leading redhumus.org and have two deployments wiith ushahidi (http://land.redhumus.org and http://respondiente.redhumus.org . Now I'm installing usahidi V3. But I have an issue when trying to build gulp
[Luis Miguel Sanchez-redhumus.org] I'm at this step http://docs.ushahidi.org/install/installing-on-linux.html#building-the-client
[Jason Mule, Ushahidi] @Luis What error are you seeing?
[Luis Miguel Sanchez-redhumus.org] Hi @Jason
[Jason Mule, Ushahidi] Hi!
[Luis Miguel Sanchez-redhumus.org] I ignored that and followed the next steps. I activated the virtual server having this result here: http://todos.redhumus.org
Ushbot
@ushbot
Sep 03 2015 13:15
[Jason Mule, Ushahidi] what version of node are you using?
[Luis Miguel Sanchez-redhumus.org] v0.12.7
[Luis Miguel Sanchez-redhumus.org] on a GNU Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
Ushbot
@ushbot
Sep 03 2015 13:23
[Jason Mule, Ushahidi] and npm version?
[Luis Miguel Sanchez-redhumus.org] 2.11.3
[Luis Miguel Sanchez-redhumus.org] in the base of the repository I have a config.env with DB_HOST=localhost
DB_NAME=username
DB_PASS=password
DB_TYPE=MySQLi
DB_USER=ushahidi
[Luis Miguel Sanchez-redhumus.org] (that whit my user, pass an db data) and in the platform-client I have a .env file with:
BACKEND_URL=http://todos.redhumus.org (as iin the guide)
Ushbot
@ushbot
Sep 03 2015 13:30
[Jason Mule, Ushahidi] ok, I am running npm 1.4.x and I am not sure I can reproduce your npm issue...
[Luis Miguel Sanchez-redhumus.org] Ok
[Luis Miguel Sanchez-redhumus.org] I just remaned my config.env to php.env in the base of the repository (as recomended in the github site)
[Luis Miguel Sanchez-redhumus.org] my .env file in the platform-client base is ok? Have I rename it too?
Ushbot
@ushbot
Sep 03 2015 13:42
[Jason Mule, Ushahidi] .env on the platform-client is ok
[Luis Miguel Sanchez-redhumus.org] Ok
Ushbot
@ushbot
Sep 03 2015 13:47
[Jess Shorland, Ushahidi] On shipping software:"stop asking 'is this process good or bad' and start asking 'is it well-suited to my situation" http://firstround.com/review/the-right-way-to-ship-software/
Ushbot
@ushbot
Sep 03 2015 14:28
[Brandon Rosage, Ushahidi] @citizen If you could provide me with some basic art direction on the HEX colors you want to use and where, I can, A, create a custom stylesheet for you, and B, explain simply how I made that stylesheet, so you can riff on it.
Ushbot
@ushbot
Sep 03 2015 16:03
[Will, Ushahidi] @Jason I'm getting an error building vagrant on master, does this occurr for you as well?
[Luis Miguel Sanchez-redhumus.org] What could be my problem?
Ushbot
@ushbot
Sep 03 2015 16:10
[Jason Mule, Ushahidi] @Will an error during provisioning?
[Jason Mule, Ushahidi] @Will What npm version do you have?
[Will, Ushahidi] @Jason yeah, it looks like a puppet issue

[Will, Ushahidi] There are errors in the configuration of this machine. Please fix
the following errors and try again:

puppet provisioner:
* The following settings shouldn't exist: environment, environment_path
* The manifests path specified for Puppet does not exist: /opt/ushahidi/platform/manifests

[Will, Ushahidi] I'll check!
[Will, Ushahidi] 1.3.10
[Jason Mule, Ushahidi] @Luis was trying to install modules using 2.11 but encountered issues #687
[Jason Mule, Ushahidi] @Will what puppet version?
Ushbot
@ushbot
Sep 03 2015 16:15
[Luis Miguel Sanchez-redhumus.org] Yes, I opened it
[Will, Ushahidi] @Jason 4.2.1
[Will, Ushahidi] I'll take a look at 687 now
[Will, Ushahidi] two secs
[Luis Miguel Sanchez-redhumus.org] Thank you
[Will, Ushahidi] I'll swap to the latest npm and test
Ushbot
@ushbot
Sep 03 2015 16:25
[Jason Mule, Ushahidi] @Will and it's not an issue with a github token during provisioning?
[Will, Ushahidi] not sure, how do you mean? Does it not occur for you?
[Jason Mule, Ushahidi] Nevermind...
[Jason Mule, Ushahidi] I will try to run the provisioner later.
Ushbot
@ushbot
Sep 03 2015 16:30
[Will, Ushahidi] @Jason @Luis gulp is working ok for me with latest version of npm, I'll try changing my node version to see if I can reproduce, I'm not on deb but I'm a deb derivative
[Jason Mule, Ushahidi] @Will are you able to run `npm install` with the latest version?
[Will, Ushahidi] yep
[Will, Ushahidi] trying with same version of node now
Ushbot
@ushbot
Sep 03 2015 16:38
[Will, Ushahidi] @Jason @Luis, ok with equivalent version of node and npm - I'm not getting the same error but I am getting a sass error
[Will, Ushahidi] @Jason does the vagrant provisioning issues occur for you too or is it just me? :)
[Jason Mule, Ushahidi] I will try run a provision with the updated Vagrantfile later...
[Will, Ushahidi] cool thanks
Ushbot
@ushbot
Sep 03 2015 17:19
[Luis Miguel Sanchez-redhumus.org] And, what if I try to begin installation from 0 point?
[Will, Ushahidi] I think that might be a good route, it's possible that there is a conflict
[Luis Miguel Sanchez-redhumus.org] I' ll try
[Will, Ushahidi] if you can reset to a clean state that would be a good track
[Will, Ushahidi] thanks
Ushbot
@ushbot
Sep 03 2015 18:46
[Will, Ushahidi] @Luis: did you get any futher?
Ushbot
@ushbot
Sep 03 2015 18:53
[Will, Ushahidi] @jason the issue with the provisioning was the vagrant version moved to 1.7.4 fixed it
[Jason Mule, Ushahidi] I see. I have been running 1.7.4 so that explains it.
Ushbot
@ushbot
Sep 03 2015 19:31
[Will, Ushahidi] @Jason did you mentioned a github token issue earlier? I'm getting a weird parser error in site.pp, have you seen that before?
[Will, Ushahidi] the file pass puppet validation
Ushbot
@ushbot
Sep 03 2015 19:41
[Jason Mule, Ushahidi] I haven't seen that before...I think you might need a github token when running composer
[Jason Mule, Ushahidi] sometimes
Ushbot
@ushbot
Sep 03 2015 19:46
[Will, Ushahidi] ah, I added a token but it persists, ok I'll poke it more, thanks
[Jason Mule, Ushahidi] wierd, although lack of a token wouldn't cause that
[Will, Ushahidi] yeah, the error is somewhat meaningless
[Will, Ushahidi] Error: Could not parse for environment platform: Syntax error at 'if'; expected '}' at /tmp/vagrant-puppet/environments/platform/manifests/site.pp:80 on node ushahidi-platform.dev
[Will, Ushahidi] I'll see if I can find a better one
[citizen, irc.freenode.net] @brandon @brosage: Thats sounds fantastic. I been under a crunch this week, and I can get that design colors and ideas to you this weekend. I'l also have a better worded question about post filtering by location when there's two locations in a post type. I have to confer with our slack team about the exact behavior, so I get back to you about that this
[citizen, irc.freenode.net] weekend too. Thanks!
Ushbot
@ushbot
Sep 03 2015 21:22
[Robbie Mackay, Ushahidi] @Jason @Luis its possible the issue with gulp/npm on linux is that you need c++ build tools for node to compile native modules
[Robbie Mackay, Ushahidi] if you install the 'build-essentials' debian package that might fix it
[Daudi Were, Ushahidi] ahhhhh .env should be renamed to php.env if i am understanding correctly?
[Robbie Mackay, Ushahidi] I'll document that requirement soon. It took a while to figure out what it is..
[Robbie Mackay, Ushahidi] @DaudiWere nope
[Robbie Mackay, Ushahidi] It should literally be called .env
[Daudi Were, Ushahidi] ahh ok i'll leave mine be!
[Robbie Mackay, Ushahidi] Are you still having issues getting running?
[Robbie Mackay, Ushahidi] I think I need some instructions for installing with a prebuilt release.. so you can skip all that junk with gulp
[Daudi Were, Ushahidi] @Robbie travel slowed me down, but basically i do not have enough permissions on this shared hosting account so I'll have to get a VPS somewhere
[Robbie Mackay, Ushahidi] Yea. That makes sense. Was it the gulp / npm stuff you couldn't do? or composer ?
[Daudi Were, Ushahidi] composer is pre installed so that was cool it was the npm stuff
Ushbot
@ushbot
Sep 03 2015 21:27
[Robbie Mackay, Ushahidi] I can probably walk you through doing an install with a pre-built client. Then you don't need to run gulp at all
[Robbie Mackay, Ushahidi] just means you have to be a guinea pig while we figure this out :)
[Daudi Were, Ushahidi] thanks Robbie, will ping you when I'm back in Nairobi next week! And I am the best guinea pig ever, esp when it comes to single malts
[Robbie Mackay, Ushahidi] hah!
[Robbie Mackay, Ushahidi] I *think* if you grab https://github.com/ushahidi/platform-client/releases/download/v3.0.0/platform-client-v3.0.0.tar.gz and extract that, then upload to your host. You should simply be able to edit config.js .. and thats all
[Robbie Mackay, Ushahidi] *maybe* set up a .htaccess file too
[Robbie Mackay, Ushahidi] Lets figure it out next week :)
[Daudi Were, Ushahidi] that would be awesome
[Daudi Were, Ushahidi] this is why they need to have wifi on planes
[Daudi Were, Ushahidi] (also so we can IM the pilot on snapchat)