GithubHelp home page GithubHelp logo

Setup w/out GitHub? about cloud9hub HOT 2 OPEN

avgp avatar avgp commented on July 29, 2024
Setup w/out GitHub?

from cloud9hub.

Comments (2)

AVGP avatar AVGP commented on July 29, 2024

Hey, sorry for taking so long to respond.

Regarding your question if this could work without Github, yes it can. Thankfully somebody is undertaking the effort to make that work, so it shouldn't be long until you can configure user/password login based on a local database.

But as you're not interested in logins at all, you can do something else in the meantime.
In https://github.com/AVGP/cloud9hub/blob/master/server.js you can remove the parts that require authentication:

and then in https://github.com/AVGP/cloud9hub/blob/master/routes/middlewares/authorization.js remove the following part:

And replace

if (!req.isAuthenticated()) {
return res.send(401, 'User is not authorized');
}
with:

  req.user = "me";

That should be all. If you're hitting any roadblocks, let me know and I'll try to figure it out with you

from cloud9hub.

kyle-github avatar kyle-github commented on July 29, 2024

from cloud9hub.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.