These are chat archives for empirical-org/Compass

5th
Jun 2014
Shubham Jain
@shubhamjain
Jun 05 2014 03:17
Any updates?
Peter Gault
@petergault
Jun 05 2014 14:55
Hey can you take a look at bonsai?
Here I'll put together an issue, but tehre are a few things going on
Shubham Jain
@shubhamjain
Jun 05 2014 14:58
Didn't get you. Should I fix bonsai issues?
Peter Gault
@petergault
Jun 05 2014 14:58
No not exactly
No one sec, I'm putting a GitHub issue together
Peter Gault
@petergault
Jun 05 2014 15:11
This is what I was thinking of
empirical-org/CoFactor#27
This might not a realistic project for now.
However, this is what I am ideally looking for in a documentation system.
Shubham Jain
@shubhamjain
Jun 05 2014 15:15
Well it is do-able but there is ease of github pages to be lost in the process.
Peter Gault
@petergault
Jun 05 2014 15:16
hm yeah I'd like to keep this simple.
What is going to look like if we don't have github pages?
Do we need to host it ourselves?
I'd like to keep it simple and built off of github pages.
We don't necessairly need to do this now, but this is where I want to go.
With Jekyll, can I build sub-categories?
I.e. within the folder "Tutorials" I could place another category / folder?
Shubham Jain
@shubhamjain
Jun 05 2014 15:19

Do we need to host it ourselves?

No but it would be like, generate the pages and push to gh-pages. Usage of git will be inevitable.

Peter Gault
@petergault
Jun 05 2014 15:20
ah ok, so we would have to do it through the command line?
Shubham Jain
@shubhamjain
Jun 05 2014 15:20

With Jekyll, can I build sub-categories?

Well. Let me experiment something and come back at you. Ok? May be it can be done with jekyll..

Peter Gault
@petergault
Jun 05 2014 15:20
ok cool.
Yeah the basic problem here is that I anticpate having a lot of documentation.
So I'd like to be able to organize it into sub-groups.
Shubham Jain
@shubhamjain
Jun 05 2014 15:21
I guess the docs will be both for user and developer?
Peter Gault
@petergault
Jun 05 2014 15:21
Possibly. We might have different parts for users and developers
It depends on how we can organize it.
Shubham Jain
@shubhamjain
Jun 05 2014 18:04
Sorry to say, I tried every effort but it is not possible with Jekyll.
Peter Gault
@petergault
Jun 05 2014 18:04
Hm, ok.
Thanks for trying it out.
Do you want to look at bonsai?
This might solve this problem
We can couch this for now
Save this for later.
Shubham Jain
@shubhamjain
Jun 05 2014 18:09
Is there anything else I should do?
Peter Gault
@petergault
Jun 05 2014 18:10
Yeah, as a final task on this project, can you see how docker is presenting its documentation?
Quinn is almost done with the install guide, and it should be ready to go soon.
Shubham Jain
@shubhamjain
Jun 05 2014 18:12
Not so easy. But can
*can't blame them containers are no piece of cake.
its fine, IMO!
Peter Gault
@petergault
Jun 05 2014 18:14
The install guide?
Shubham Jain
@shubhamjain
Jun 05 2014 18:15
The install guide is fine.
Peter Gault
@petergault
Jun 05 2014 18:15
Ok cool, yeah tit just has that one bug in it.
Shubham Jain
@shubhamjain
Jun 05 2014 18:21
What bug?
oh.. The Owner one?
Peter Gault
@petergault
Jun 05 2014 18:25
the installation error, with the initlization
Shubham Jain
@shubhamjain
Jun 05 2014 18:26
I had a look at a code and from my understanding a module Owner is missing from there.
Peter Gault
@petergault
Jun 05 2014 18:38
hm, could you write this up as an issue?
Shubham Jain
@shubhamjain
Jun 05 2014 18:38
Github issue?
Peter Gault
@petergault
Jun 05 2014 18:38
yeah
Peter Gault
@petergault
Jun 05 2014 18:51
Hey can you try installing the code again?
Hey good news
Hey so that bug should be fixed now, do you want to try the site?
Rather, the install?
Shubham Jain
@shubhamjain
Jun 05 2014 18:54
Whats the fix?
Peter Gault
@petergault
Jun 05 2014 18:54
Quinn pushed a couple of changes.
Shubham Jain
@shubhamjain
Jun 05 2014 18:57
Can't see any.
Quinn Shanahan
@quinn
Jun 05 2014 19:03
Hi Shubham, there are still a few steps missing. Try running: git submodule init && git submodule update
That should restore the Owner module
Peter Gault
@petergault
Jun 05 2014 19:04
Can you add these to the documentation Quinn?
Quinn Shanahan
@quinn
Jun 05 2014 19:05
Yeah, i'll put in what is missing once we've figured everything out.
@shubhamjain let me know if that worked
Shubham Jain
@shubhamjain
Jun 05 2014 19:16
@quinn: yeah it worked.
Peter Gault
@petergault
Jun 05 2014 19:16
Great
Shubham Jain
@shubhamjain
Jun 05 2014 19:19
@quinn: Any reason for core to be outside the repository?
Quinn Shanahan
@quinn
Jun 05 2014 19:19
it's shared into another repo
a separate rails app
Quinn Shanahan
@quinn
Jun 05 2014 19:29
Is it up and running now?
Shubham Jain
@shubhamjain
Jun 05 2014 19:31
Setting up. It gave an error "hstore extension" not found. Need to install postgresql-contrib too.
Quinn Shanahan
@quinn
Jun 05 2014 19:33
are you on os x or linux?
Shubham Jain
@shubhamjain
Jun 05 2014 19:34
ubuntu.
There was an error that building "hstore extension" requires root after that, btw.
Quinn Shanahan
@quinn
Jun 05 2014 19:35
ok, so "postgresql-contrib" is a necessary package to get postgresql's extensions?
Shubham Jain
@shubhamjain
Jun 05 2014 19:35
yup. seems so.
Quinn Shanahan
@quinn
Jun 05 2014 19:35
ok great, thanks
Peter Gault
@petergault
Jun 05 2014 19:46
Cool, could this be logged in the documentation?
Shubham, now that you have the site running locally, I've got a bunch of tasks you could work on.
Shubham Jain
@shubhamjain
Jun 05 2014 19:48
Not yet. I don't know if this will be a problem with anyone else but running db:migrate requires root privileges. and my rot environment is completely different. no gems, no rake, no bundle.
Peter Gault
@petergault
Jun 05 2014 19:51
Hm, strange
I've created a shared document where we can jot down these issues
Hey so I've got 3 issues listed here, let me know what else has come up.
Shubham Jain
@shubhamjain
Jun 05 2014 20:12
I am having the same issue permission denied to create extension hstore even with root even when I have laready enabled it with psql shell. WIll dig up tommorrow. too late for me.
Quinn Shanahan
@quinn
Jun 05 2014 20:13
Thanks Peter. Ok, let me know when you're back online tomorrrow.. can you paste any relevant terminal output?
Shubham Jain
@shubhamjain
Jun 05 2014 20:14
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "hstore"
HINT: Must be superuser to create this extension.
: CREATE EXTENSION IF NOT EXISTS hstore
I don't think stack trace will be useful.
Quinn Shanahan
@quinn
Jun 05 2014 20:15
no worries. That's enough.
Peter Gault
@petergault
Jun 05 2014 21:21
Hey
Jason Lo
@LightningLord
Jun 05 2014 21:21
hello
Peter Gault
@petergault
Jun 05 2014 21:21
Quinn, Jason is getting set up with the site now
Jason Lo
@LightningLord
Jun 05 2014 21:21
i can run rake db:create
and bundle
i can't do rails s or rake db:migrate
Quinn Shanahan
@quinn
Jun 05 2014 21:22
whats the error
Jason Lo
@LightningLord
Jun 05 2014 21:22
both of those lead to a similar error "uninitialized constant Owner"
from config/initializers/ownable
Peter Gault
@petergault
Jun 05 2014 21:28
Hey Quinn, do you have a sense for this error?
Quinn Shanahan
@quinn
Jun 05 2014 21:32
ahh.
git submodule init && git submodule update
Jason Lo
@LightningLord
Jun 05 2014 21:34
ok that appears to have worked
the next error when migrating is the scheme postgres does not accept registry part: super:4Rh0izHYfmfWx9cV@:
it looks like it wants something in a .env file?
are there instructions for how to set that up properly
Quinn Shanahan
@quinn
Jun 05 2014 21:39
the guide you're using has a few kinks in it still. I haven't seen that postgres error before. What OS are you using?
Also, could you post the terminal output for that error?
Jason Lo
@LightningLord
Jun 05 2014 21:42
i'm using the latest version of ios (mavericks?)

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

the scheme postgres does not accept registry part: super:4Rh0izHYfmfWx9cV@: (or bad hostname?)/Users/jasonlo/Documents/DBC/side_projects/Compass/db/migrate/20140522033151_add_queue_classic.rb:5:in `up'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Quinn Shanahan
@quinn
Jun 05 2014 21:46
Can you paste your database.yml?
Also, can you pull? I made a change on master
Jason Lo
@LightningLord
Jun 05 2014 21:49
so i have my forked repo that i'm pulling from
do you know if changes from your repo will be automatically pulled into mine?
Quinn Shanahan
@quinn
Jun 05 2014 21:49
if you're working on a fork I would recommend adding empirical-org's repo as a remote called "upstream"
Jason Lo
@LightningLord
Jun 05 2014 21:50
ok
here is my database.yml
development:
host: localhost
adapter: postgresql
encoding: unicode
database: Compass-dev
pool: 5
Quinn Shanahan
@quinn
Jun 05 2014 21:50
then just "git pull upstream master"
ok, thanks. After pulling in upstream, try running (DATABASE_URL="postgres://localhost/Compass-dev" rake db:migrate)
Jason Lo
@LightningLord
Jun 05 2014 21:52
ok it didn't throw an error
i'm gonna take a break from this project
Quinn Shanahan
@quinn
Jun 05 2014 21:52
ok cool.
Jason Lo
@LightningLord
Jun 05 2014 21:52
thanks for your help, can i ping you if i have more questions?
what is your contact info?
Quinn Shanahan
@quinn
Jun 05 2014 21:53
yeah for sure. I'm on gchat as well q.shanahan@gmail.com
Jason Lo
@LightningLord
Jun 05 2014 21:54
thanks quinn