Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Making the Rails starter kit work out of the box #2

Merged
merged 2 commits into from
Nov 15, 2013

Conversation

rudyrigot
Copy link
Contributor

At the moment, the RoR starter kit doesn't work out of the box, because prismic.yml.sample first needs to be renamed into prismic.yml. It makes a lot of sense to make sure people change the configuration of their API endpoint, but that's not the way we documented the starter kits to work, notably in our "Getting started" video.

What we say in the video and documentation is that the starter kits all work out-of-the-box, but use the "Les Bonnes Choses" API, which needs changing.

To make sure people would know how to do this, I updated the README of the starter kit as well.

Let me know if I did right, or if we need to change the documentation.

@dohzya
Copy link
Contributor

dohzya commented Nov 15, 2013

This change makes the projet work out-of-the-box but will be really annoying for anyone who want to update its own project using the sample.
This may not be a problem if we consider the sample as a scaffold only (start with it then change it yourself).
An other solution could be to have 2 branches: 1 (develop?) for the generic modifications and 1 (master) for the out-of-the-box stuff. But it may be overkill to do this workflow just for a simple configuration file…

Conclusion: I don't know, pick the approach you prefer :-) don't hesitate to merge the PR if you choose the scaffolding).

@rudyrigot
Copy link
Contributor Author

Two branches kinda sounds overkill indeed.
Another road: having a prismic.yml committed with the configuration pointing on LesBonnesChoses, but have it in gitignore anyway? That way, people retrieve it the first time, but the subsequent updates would go smoothly. What do you think about that?

@guillaumebort
Copy link
Contributor

Starter projects should be considered as pure scaffolding. They should work out of the box with the LBC official repository.

@guillaumebort
Copy link
Contributor

So I merge it.

guillaumebort added a commit that referenced this pull request Nov 15, 2013
Making the Rails starter kit work out of the box
@guillaumebort guillaumebort merged commit 8c1ea8a into prismicio:master Nov 15, 2013
@dohzya
Copy link
Contributor

dohzya commented Nov 15, 2013

Ok @guillaumebort this way is perfectly clear :-)
@rudyrigot FYI ignoring a file only avoid to version it in Git; ignoring an already versioned file has no incidence at all :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants