Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dale V Ross
    @dalevross
    I’ll check out zeit for deployment, I just went with git in the end.
    Niall O'Brien
    @niallobrien
    @dalevross how'd the Hackathon go? What did you build?
    Dale V Ross
    @dalevross
    I intended to build an online repository of “All the Things"
    I got tripped up by my lack of expertise in Node/Mongo development :)

    But I loved the project so much I reckon I’d take the risk and enjoy the weekend, regardless.

    Think of it as pinterest/instagram for JSON, with a front end.

    Dale V Ross
    @dalevross
    It’ll hopefully be at allthething.dajengroup.com by tonight (EST)
    Dale V Ross
    @dalevross
    Anyone here with experience troubleshooting PM2?
    Niall O'Brien
    @niallobrien
    Sorry @dalevross I've never had any major issue with PM2.
    Dale Ross
    @dvross-dev
    Someone pointed me here...Unitech/pm2#319
    So I'll be checking that out when I get home/
    Dale V Ross
    @dalevross
    I think I may have found the problem with PM2 but working through Mongo learning pains.
    Niall O'Brien
    @niallobrien
    Care to share?
    Dale V Ross
    @dalevross
     * Load environment variables from .env file, where API keys and passwords are configured.
     */
    dotenv.load({
      path: __dirname + '/' + '.env'
    });
    Niall O'Brien
    @niallobrien
    Awesome
    Dale V Ross
    @dalevross
    added _dirname, as it appears PM2 had a problem with the location.
    Niall O'Brien
    @niallobrien
    I have some forks of this repo, but in my latest fork, I'm scaling back a bit so it doesn't deviate too far from this project.
    Dale V Ross
    @dalevross
    I tried to add authentication and ran into an issue I haven’t figured out yet.
    SCRAM-SHA-1 authentication failed for username on dbname from client 127.0.0.1 ; AuthenticationFailed SCRAM-SHA-1 authentication failed, storedKey mismatch
    Any ideas or previous experience with this error?
    Niall O'Brien
    @niallobrien
    None I'm afraid. I must dig out a project I did in which I added Slack auth to Hackathon Starter - would be a nice PR.
    Dale V Ross
    @dalevross
    I should say, I tried to add auth to the MongoDB connection string.
    Dale V Ross
    @dalevross
    ..and now that I’m more awake, you know what I mean, I tried to increase security of my mongoDB instance, so I created a new user for my database, gave it readWrite, updated the connection string and I’m seeing that error..
    Niall O'Brien
    @niallobrien
    Gotya. How are you liking the project so far?
    Dale V Ross
    @dalevross
    Prreetty awesome if I can get my mongoose/Node/pug prowess up to scratch :D
    One look and I knew it was what I’ve been dreaming of.
    Niall O'Brien
    @niallobrien
    Awesome. After fiddling with the assets for so long, I've settled on leaving the sass as is, but using Webpack to compile my es6 JS
    It also included cache busting of the JS assets for prod which is nice
    Sarkis M
    @SakoMe
    Anyone know what the method override syntax is with the new pug? What would be the pug equivalent of the ejs: <form action="/campaigns/revive/<%= revive._id %>?_method=DELETE" method="post">
    <button>Delete</button>
    </form>
    brnzi
    @brnzi
    Hi guys, I just finished deploying the "sahat/hackathon-starter"
    however when I enter the "localhost:3000" on firefox or chrome or safari is not displaying the page.
    have any of you had this issue?
    I installed on Linux CentOS 7
    thanks a bunch in advance! :-)
    Dipesh Bhardwaj
    @Dev-Dipesh
    ,
    Niall O'Brien
    @niallobrien
    Ctrl/Cmd+click on the URL your terminal gives you once the server has started @brnzi
    @SakoMe I'm on mobile atm but try form(action='URL here' + revive._id + '?_method=DELETE', method='POST')
    And indent button Delete underneath
    emanueletido
    @emanueletido_twitter
    hi guys someone was able to deploy hackathon-starter to zeit now?
    here is my deploy:
    https://hackathon-starter-wmapzryzqx.now.sh/
    I can't understand what is wrong, any idea?
    emanueletido
    @emanueletido_twitter
    ok solved removing sass dependencies and upload dir creation
    my3ya
    @maithreya

    guys i am getting this error any idea why?
    npm install
    npm ERR! Darwin 16.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
    npm ERR! node v6.9.4
    npm ERR! npm v3.10.10

    npm ERR! Invalid name: "@types/express"
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR! https://github.com/npm/npm/issues

    npm ERR! Please include the following file with any support request:
    npm

    @sahat could you look at it?
    Tobias Lundgren
    @lundgren2
    @maithreya have you tried to re-installed node and npm?
    Ahmad Abugosh
    @ahmadabugosh
    hey everyone, I'm trying to do a simple post request on a form and I get the error "Error: CSRF token missing", what am I missing?
    Ahmad Abugosh
    @ahmadabugosh
    never mind, somehow missed it in the faq
    slidenerd
    @slidenerd
    yay hello everyone, i finally found this place :smile: thank you for all your fantastic efforts sahat
    Yusuf Adeyemo
    @Yusadolat
    Welcome @slidenerd
    Nischay Venkatram
    @nischayv
    Hey everyone, I created this really simple express app generator the generates a basic express app without extra stuff like handlebars and additional modules. I find it useful when I want to spin up a really simple server that does not need any of the additional stuff that comes with express generator. Feel free to use it and contribute if you would like to see any additional features! https://github.com/nischayv/express-gen
    Kuriakin Zeng
    @kuriakinzeng
    Hello @sahat and everyone. I have followed the steps here https://github.com/sahat/hackathon-starter#getting-started but still couldn't get it to work. I have renamed env.example to .env and provided the MONGOLAB_URI
    But when I run npm start, it gives me Client requires an Account SID and Auth Token set explicitly or via the TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables
    Since the error occurs in node_modules/twilio/lib/Client.js:22, I added console.log(process.env) to where SID and TOKEN were required