GithubHelp home page GithubHelp logo

jaybrueder / barcamp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seepaul/barcamp

0.0 2.0 0.0 575 KB

License: GNU Affero General Public License v3.0

JavaScript 39.10% Shell 2.67% CSS 33.79% HTML 24.43%

barcamp's Introduction

Barcamp App

This repository contains a web app that helps barcamps with the registration of event attendees.

This app was developed during the organization of the Barcamp Graz 2015 in Austria.

Prerequisites

You need NodeJS installed on your workstation:

http://nodejs.org/download/

Installing dependencies

Navigate into the project directory an run

npm install

This will install all necessary dependencies.

Setup database and configuration

Make sure that you have MySQL installed and running.

Create a default.json in the config directory and fill it with the info found in config/default.json.example. Make sure to adjust the database connection according to your local environment.

{ 
  "general": {
  "Websitename": "Barcamp",
  "mail_contact": "[email protected]"
  },
"database": {
  "host": "localhost",
  "port": "5984",
  "name": "your_db_name",
  "username": "your_username",
  "password": "your_password",
  "options": {
    "dialect": "mysql"
    }
  },
  "database-version": "latest",
  "fixtures-version": "latest",
  "logger" : {
    "clevel": "WARN",
    "mlevel": "ERROR",
    "appenders": [
        { "type": "console", "category": "console"},
        { "type": "file", "filename": "./barcamp.log", "category": "file" },
        { "type": "smtp", "recipients": "[email protected]", "sendinterval": "5", "sender": "[email protected]", "transport": "SMTP", 
            "SMTP": {
                "host": "smtp.mailprovider.com",
                "secureConnection": false,
                "port": "587",
                "auth": {
                    "user": "[email protected]",
                    "pass": "just2send"
                },
                "debug": false
            },
        "category": "mail"
    }
    ],
    "replaceConsole": true
  }
  "email": {
    "smtpHost": "localhost",
    "secureConnection": false,
    "port": 25,
    "sender": "[email protected]",
    "subjectWelcome": "[BarCamp Graz] Anmeldung"
  }
}

Also create a development.json file inside the config directory. Fill it with the info found in __config/development.json.example.

{
 "logger" : {
    "clevel": "DEBUG",
    "mlevel": "WARN",
    "appenders": [
        { "type": "console", "category": "console"},
        { "type": "file", "filename": "/home/user/Workspace/barcamp/barcamp.log", "category": "file" },
       { "type": "smtp", "recipients": "[email protected]", "sendinterval": "5", "sender": "[email protected]", "transport": "SMTP", 
            "SMTP": {
                "host": "smtp.mailprovider.com",
                "secureConnection": false,
                "port": "587",
                "auth": {
                    "user": "[email protected]",
                    "pass": "just2send"
                },
                "debug": true
            },
        "category": "mail"
    }
    ],
    "replaceConsole": true
  },
  "database-version": "latest"
}

Starting the server

Set the NODE_ENV variable in your shell environments:

export NODE_ENV=development

Start the server with

node barcamp-server.js

Authors

Author Paul Rudolf Seebacher ([email protected])
Author Jürgen Brüder ([email protected])

barcamp's People

Contributors

jaybrueder avatar petertheone avatar

Watchers

 avatar  avatar

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.