These are chat archives for empirical-org/Compass

4th
Jun 2014
Shubham Jain
@shubhamjain
Jun 04 2014 04:42
I am getting an error while "rake db:schema:load" "NameError: uninitialized constant Owner.
Peter Gault
@petergault
Jun 04 2014 04:42
Hm
Yeah other people have reported this error. I'm going to speak with Quinn tomorrow about the dev environment.
We're moving to Docker now, so rather than fix this it may make sense to wait a couple of days or he new setup.
Shubham Jain
@shubhamjain
Jun 04 2014 04:44
Just curious, rails app should work irrespective of weather its Docker or not.
Peter Gault
@petergault
Jun 04 2014 04:44
Yeah for sure. I think it is just that it is out of date, and we need to look it all over.
Could you also include this as a question on the "questions" tab?
Shubham Jain
@shubhamjain
Jun 04 2014 04:45
Doing.
Peter Gault
@petergault
Jun 04 2014 04:45
cool, thanks. I'll have Quinn look at this tomorrow.
Shubham Jain
@shubhamjain
Jun 04 2014 04:46
seems like already been posted.
Peter Gault
@petergault
Jun 04 2014 04:47
Yeah, it's the same issue?
Shubham Jain
@shubhamjain
Jun 04 2014 04:47
Yup.
Peter Gault
@petergault
Jun 04 2014 04:49
Ok cool, yeah I'll get back to you tomorrow with that. Feel free to poke around in the code. One of our projects is going to be improving our documentation, so that is a good task you could help with.
Shubham Jain
@shubhamjain
Jun 04 2014 04:52
Peter Gault
@petergault
Jun 04 2014 04:52
For now that is ok. We are going to set up a Jekyll site, with markdown files.
Have you used Jekyll before or another site like it before?
Shubham Jain
@shubhamjain
Jun 04 2014 04:54
Not Jekyll exactly but Octopress which built upon Jekyll. So yeah, I know that stuff.
Peter Gault
@petergault
Jun 04 2014 04:54
Cool, good to know. That could be actually be a starting project, if you'd like to set up a documentation site.
We have this going.
Shubham Jain
@shubhamjain
Jun 04 2014 04:57
Ok. Should I make commits to master or drafts?
draft*
Peter Gault
@petergault
Jun 04 2014 04:58
Commits can be made to master.
I can give you write access to the repo.
Shubham Jain
@shubhamjain
Jun 04 2014 04:59
Sure.
Peter Gault
@petergault
Jun 04 2014 05:00
Ok you have write access now.
for that repo
Shubham Jain
@shubhamjain
Jun 04 2014 05:01
Ok. I will be working on master branch.
Peter Gault
@petergault
Jun 04 2014 05:03
Great, sounds good. Our documentation is weak now, and one of our goals is to make it stronger.
As you run into questions, write them down, and we will use it to build the documentation.
Shubham Jain
@shubhamjain
Jun 04 2014 05:04
Should I log my hours with some service?
Peter Gault
@petergault
Jun 04 2014 05:04
Yes, if you could use Toggl or some other service you'd prefer that'd be great.
Shubham Jain
@shubhamjain
Jun 04 2014 05:05
Its paid. :)
Peter Gault
@petergault
Jun 04 2014 05:06
Cool, sounds great.
Shubham Jain
@shubhamjain
Jun 04 2014 05:07
No. I meant its a paid service. I don't have CC for now.
I will use google docs for now. Hope thats fine.
Peter Gault
@petergault
Jun 04 2014 05:09
Sure that's fine. This is decent as well .
Whatever system you'd prefer.
Shubham Jain
@shubhamjain
Jun 04 2014 06:12
Are you there?
Peter Gault
@petergault
Jun 04 2014 16:22
Hey, I'm around now for the next eight hours.
Shubham Jain
@shubhamjain
Jun 04 2014 16:53
Hi there.
I created docs in Documentation/draft.
Peter Gault
@petergault
Jun 04 2014 16:55
Cool
I'll check them out in a second
Shubham Jain
@shubhamjain
Jun 04 2014 17:14
Any update on that error?
Peter Gault
@petergault
Jun 04 2014 17:15
Not yet, we're looking at it today. The lead dev, Quinn, is in the middle of the Docker setup, so he is still working through that.
It's the top priority now though.
Is there a link to the new octopress site?
Shubham Jain
@shubhamjain
Jun 04 2014 17:17
Nah. I was running on my localhost. its easy to run. Just use "jekyll serve"
Peter Gault
@petergault
Jun 04 2014 17:18
Ok cool. I'm not a developer, but I'll have Quinn look into it.
Does GitHub do the hosting for these pages?
This looks like a good guide, I could help you with the permissions you need to set this up
Shubham Jain
@shubhamjain
Jun 04 2014 17:21
Set up on the main server?
Peter Gault
@petergault
Jun 04 2014 17:21
Let's host the documentation through GitHub pages
or through a free heroku dyno
Shubham Jain
@shubhamjain
Jun 04 2014 17:23
Ok. Let me try.
Peter Gault
@petergault
Jun 04 2014 17:28
sounds good
Shubham Jain
@shubhamjain
Jun 04 2014 18:50
http://empirical-org.github.io/Documentation/. Took long. Had some interruptions in between.
Peter Gault
@petergault
Jun 04 2014 19:15
Cool, looks good
I think as a future project, I'd like the folder structure on the left hand side to match the folders in GitHub.
But we might need to use nanoc for that.
Shubham Jain
@shubhamjain
Jun 04 2014 19:17
nanoc?
Peter Gault
@petergault
Jun 04 2014 19:17
search for it. Nanoc is a more flexible static site generator
However, it takes more work to get set up.
for now we can use octopress, and then move to nanoc later on.
Shubham Jain
@shubhamjain
Jun 04 2014 19:18
Its just Jekyll, btw.
Peter Gault
@petergault
Jun 04 2014 19:19
Ok yeah, got you.
Yes, this will work well for now, cool
Shubham Jain
@shubhamjain
Jun 04 2014 19:20
Not so much of content, though.
Peter Gault
@petergault
Jun 04 2014 19:39
Yeah, I'll need to clean this up.
How do I assign a markdown file to a header, such as Tutorial or Reference?
Shubham Jain
@shubhamjain
Jun 04 2014 19:40
Each post has a category - ref, doc, tut, post. Check _posts folder.
I guess you are using github interface for editing right?
Peter Gault
@petergault
Jun 04 2014 19:44
right
What I don't understand is how it syncs
For example
Here all of the markdown files under posts
but then on our site, you only see one document under posts
Shubham Jain
@shubhamjain
Jun 04 2014 19:46
sections: [
['doc', 'Documentation'],
['tut', 'Tutorial'],
['ref', 'Reference'],
['dev', 'Developers'],
['post', 'Posts']
]
These are all possible categories.
_posts is jekyll storage directory for all posts / articles. "post" category is another thing.
Peter Gault
@petergault
Jun 04 2014 19:49
oh okay
got it
so I change the category, correct?
to like tut?
cool
how long does it take to update?
Shubham Jain
@shubhamjain
Jun 04 2014 19:55
I guess it will update automatically. Github checks it everytime.
Peter Gault
@petergault
Jun 04 2014 19:56
Ok
I'm looking at something like this
where it is still under reference here
do I have to change which branch it is on?
Shubham Jain
@shubhamjain
Jun 04 2014 19:58
Oh yeah. Commit to gh-pages only. I guess all the rest of the branches are pretty much useless.
Peter Gault
@petergault
Jun 04 2014 20:01
Ok got you.
perfect
ok yeah it updated
Very cool.
Shubham Jain
@shubhamjain
Jun 04 2014 20:02
:) I got to sleep now. Hope we could speed up work tomorrow. A list of task to be done will be helpful.
Peter Gault
@petergault
Jun 04 2014 20:02
I'll do some work to clean this up now, thanks for getting this set up.
For sure.
There are a lot of things that depend upon the dev environment being set up
Shubham Jain
@shubhamjain
Jun 04 2014 20:04
Yeah. :). Gn.