Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14B1DE8C5 for ; Fri, 1 Feb 2013 20:08:15 +0000 (UTC) Received: (qmail 35867 invoked by uid 500); 1 Feb 2013 20:08:14 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 35838 invoked by uid 500); 1 Feb 2013 20:08:14 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 35830 invoked by uid 99); 1 Feb 2013 20:08:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 20:08:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chewbranca@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 20:08:06 +0000 Received: by mail-lb0-f174.google.com with SMTP id l12so4943465lbo.19 for ; Fri, 01 Feb 2013 12:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ImQ2IWrAlhHNUMen8C0Q6vJBUUuxmEc68Q+ABf60Hdc=; b=F8oWiB/kx+1Wt6YtwFDYgg3r4I1vjAyPFvhkQkrjCwdXVxVA4sdf9zNPFyR2M8Tsqz efrtF5zlv8cjVYBUHZobXRvPIiUT7VhKV9rvned+hPCfHWiMYBUf6h8bs78RSFJSa0PN BHy5rzkqa/yuLdeE5/DuZeRDKCOCVUPaenjzxHwWpOMid8ODLWcV25dQap6uKztNjPVJ CtcmhRjcrZrk2lJDoFxZPjvH4mOY669UW21kkmR68r8qKzYU+YEodpmkyTNYgqqqSfOS nqPDLD4gxeKVZ7+wnAa1V3g6W7gAHBv/qu15Ybh8CfXWAHaBKRIioHl3BuH0ztYs31GN afgA== MIME-Version: 1.0 X-Received: by 10.152.109.146 with SMTP id hs18mr12349293lab.8.1359749265404; Fri, 01 Feb 2013 12:07:45 -0800 (PST) Received: by 10.112.49.165 with HTTP; Fri, 1 Feb 2013 12:07:45 -0800 (PST) In-Reply-To: References: <62834E08-5CEB-483B-94AE-7EE59A1FC056@apache.org> Date: Fri, 1 Feb 2013 12:07:45 -0800 Message-ID: Subject: Re: Simplifying Fauxton Setup From: Russell Branca To: dev@couchdb.apache.org Content-Type: multipart/alternative; boundary=bcaec54ee776f2b23304d4af4bd9 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee776f2b23304d4af4bd9 Content-Type: text/plain; charset=ISO-8859-1 Also just pushed out some wrappers around the local bbb/grunt packages (as described above), so we can install all packages into the local node_modules folder and still have easy to use paths. Target dev flow: git clone couchdb cd src/fauxton npm install bbb server *makes changes* *profit* The proxy settings will allow us to point at an running local (or remote) CouchDB instance. So even if we leave Fauxton in the base repo, we can still avoid requiring people to manually compile CouchDB. -Russell On Fri, Feb 1, 2013 at 11:58 AM, Russell Branca wrote: > Turns out there's an undocumented proxy feature in bbb server. I just > pushed out a change that will proxy requests through to CouchDB as needed. > Its about 80% of the way there. We don't have to go this route long term, > but it gives you a development server that avoids the build step every time > you make a change. > > > -Russell > > > On Thu, Jan 31, 2013 at 1:54 PM, Jan Lehnardt wrote: > >> >> On Jan 31, 2013, at 22:21 , lenz wrote: >> >> > not posting here as often as i should ... :-) >> > >> > On Fri, Feb 1, 2013 at 9:13 AM, Russell Branca >> wrote: >> >> Interesting point about updating the $PATH Jan. I'm not opposed to >> going >> >> back to installing grunt and bbb globally, although one intermediate >> option >> >> that might work well is to just add a bin folder and add proxy scripts >> for >> >> grunt and bbb that just point into node_modules/.bin/. >> > >> > we use the /bin folder option in iwantmyname with proxy scripts for a >> > watcher and and a grunt compile task. that works well for deployment >> > and local development for us less node focused people and js geeks >> > seem to be ok with it as well. having a script that can be called for >> > deployments is really handy for us and makes automation so much >> > easier. also nothing really leaks outside the projects which is >> > important for a server deployment for us. >> >> Excellent data point, thanks Lenz! :) > > > --bcaec54ee776f2b23304d4af4bd9--