Giter Site home page Giter Site logo

broadgauge's Introduction

BroadGauge

Platform for managing training/workshops by connecting interested trainers and educational institutes interested in conducting trainings for their students.

This is going to be used for managing Python workshops going to be conducted across Ireland.

Requirements

  • PostgreSQL
  • Python 2.7
  • virtualenv

How to setup

  • Clone the repo

      ## CHANGE TO PYTHON IRELAND git clone [email protected]:PythonIreland/broadgauge.git
      cd broadgauge
    
  • Setup virtualenv and install python packages

      virtualenv .
      . bin/activate
      pip install -r requirements.txt
    
  • Start Postgres server

Linux Started automatically. No need to worry.

Mac

    To launch start postgresql at login:
    ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents

    Then to load postgresql now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    Or, if you don't want/need launchctl, you can just run:
    postgres -D /usr/local/var/postgres

Windows http://www.postgresql.org/docs/9.3/static/app-pg-ctl.html

  • Create a database

      createdb pythonexpress
    
  • Add schema

      psql pythonexpress < broadgauge/schema.sql
    
  • Become a user in your database

      Create user in database:
              sudo -u postgres psql
              create role [name];
              alter role [name] with login;
              \q
      Edit the default_settings.py file changing the 'user' value to your [name]
    
  • Run the app

      python run.py
    

broadgauge's People

Contributors

anandology avatar andreafagan avatar andrewmccarthy avatar edgarlatorre avatar gerboland avatar tarzzz avatar mariusavram91 avatar conorposullivan avatar joders avatar shrayasr avatar papageorgiou avatar saoili avatar viggyprabhu avatar tricia315 avatar

Watchers

Pat Claffey 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.