GithubHelp home page GithubHelp logo

agileboardproject's Introduction

AgileBoardProject

Agile Board Project for CSE412

Setup (for local use)

  1. Install docker
  2. Install Python.
  3. Install pip (might just come with Python nowadays, run pip --version to check)
  4. Install postgres on your machine.
  5. pip install psycopg2 for ability to use Python-Postgres interface
  6. Clone this git repository to somewhere on your machine git clone https://github.com/spencerbyw/AgileBoardProject.git
  7. Make sure docker is running. Fire off the following commands:
  • docker pull postgres get the postgres image
  • docker run -d -p 5432:5432 postgres starts a postgres process in the background, exposing port 5432 so we can use it
  1. Inside the git repository, run the following commands:
  • make from_scratch This will load the database in the docker container with test data
  1. You now have a the database working locally.

Usage

To Use psql

To use psql, the command line interface for Postgres, do the following:

  • docker ps -a and copy the name of the running container (should be some weird name like "ecstatic_hugle")
  • docker run -it --rm --link <NAME_THAT_YOU_COPIED>:postgres postgres psql -h postgres -U postgres This will give you access to psql command line interface. You can now run commands here.
  • Useful commands:
    • \q Use this to quit psql
    • \dt List all tables
    • Run whatever SQL query you want, like select * from card;

Authors

  • Spencer Bywater @spencerbyw
  • Alex Rhodes
  • Alex Chambers
  • Caleb Hutchison

agileboardproject's People

Contributors

spencerbyw avatar

Stargazers

 avatar

Watchers

 avatar Alex Chambers avatar Alex Rhodes 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.