building an app with someone else's web design

42 views
Skip to first unread message

Brian Sammon

unread,
Oct 7, 2014, 2:54:43 PM10/7/14
to rubyonra...@googlegroups.com
I'm building a backend for a web-design created by someone else (that I'm working with).
I've been provided with a bunch of html files (most, but not necessarily all, to be converted to html.erb files), a bunch of .js files, a bunch of .css files and some other related files.

I'm not particularly knowledgeable on javascript or CSS, and I'm hoping I won't have to become very knowledgeable to complete this project. If the javascript and CSS files need to be updated, the web-designer will still be available to update them, but he doesn't know ruby or rails.

My development environment is rails (4.1.6) with the default webrick stuff.

Does anyone have any pointers to good reading material (preferably online) for a situation like this? That is--building an app to serve a website designed by someone else, where many of the files do not get processed by rails. Hopefully including advice on setting up the development environment.

I'm cobbling something together, but I worry that what I'm coming up with may be suboptimal.

Walter Lee Davis

unread,
Oct 7, 2014, 7:48:23 PM10/7/14
to rubyonra...@googlegroups.com
There’s a RailsCast about static sites, maybe two of them if I recall correctly. Have a search there.

Walter

>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/20141007135608.5466e9aa275030ed8e98321a%40brisammon.fastmail.fm.
> For more options, visit https://groups.google.com/d/optout.

Brian Sammon

unread,
Oct 8, 2014, 1:15:39 PM10/8/14
to rubyonra...@googlegroups.com
On Tue, 7 Oct 2014 19:46:51 -0400
Walter Lee Davis <wa...@wdstudio.com> wrote:

> > Does anyone have any pointers to good reading material (preferably
> > online) for a situation like this? That is--building an app to serve
> > website designed by someone else, where many of the files do not get
> > processed by rails. Hopefully including advice on setting up the
> > development environment.
> >
> > I'm cobbling something together, but I worry that what I'm coming up > > with may be suboptimal.
>
> There's a RailsCast about static sites, maybe two of them if I recall
> correctly. Have a search there.

Hmmm... video tutorials--I definitely prefer text documents for the
go-at-your-own-speed factor, but I guess I'll check the videos out if I
can't find anything else.

Thanks.

Bala Paranj

unread,
Oct 28, 2014, 2:11:22 AM10/28/14
to rubyonra...@googlegroups.com, rubyonra...@brisammon.fastmail.fm
You need to understand the directory structure in a Rails project. You need to put all your javascript files under app/assets/javascripts/ folder, the stylesheets will go into app/assets/stylesheets folder. For more details, read : http://guides.rubyonrails.org/asset_pipeline.html
Reply all
Reply to author
Forward
0 new messages