bfricka / less-preview

Browser-based LESS to CSS converter built on Express
http://less2css.org
82 stars 41 forks source link

Example of private.js #16

Closed heff closed 11 years ago

heff commented 11 years ago

When I first attempted to run this locally I had to reverse engineer private.js, even though it's not needed locally. Providing and example file of how it should look could be one way to help this. e.g. private.js.example

This is what I put in mine to get it to work.

module.exports = {
  app: {
    secretKey: 'asdfasdfadsf'
  },
  github: {
    clientID: 'heff',
    callbackURL: 'asdf',
    clientSecret: 'asdf'
  }
};
bfricka commented 11 years ago

Yeah, that just a piece that I haven't even implemented. The page gets lots of hits, but I'm pretty sure you're the first to actually use the code for anything, so I have crap in here that really shouldn't be in a public release. I started a github auth so people can sign in and access their less files, but I ended up losing focus and merging that branch for its useful changes w/out cleaning out the incomplete ones.

I can strip this out at some point.

heff commented 11 years ago

Cool, no problem. Let me know if an example file would be helpful.

On Jul 10, 2013, at 12:49 AM, brian-frichette notifications@github.com wrote:

Yeah, that just a piece that I haven't even implemented. The page gets lots of hits, but I'm pretty sure you're the first to actually use the code for anything, so I have crap in here that really shouldn't be in a public release. I started a github auth so people can sign in and access their less files, but I ended up losing focus and merging that branch for its useful changes w/out cleaning out the incomplete ones.

I can strip this out at some point.

— Reply to this email directly or view it on GitHub.

bfricka commented 11 years ago

I removed this. Will tackle auth when I get a chance.