Giter Club home page Giter Club logo

topicb_crowdfunding's Introduction

Team 30 Topic B Crowdfunding

Dependencies

  • Bitnami WAPP (PostgreSQL version)
  • PG Admin 4 (Database editor)

How to set up

  • Website
    1. Install Bitnami Stack program
    2. cd into /Bitnami/wappstack-7.1.21-0/apache2/ (wherever you installed WAPP at)
    3. git clone https://github.com/CS2102-Team30/TopicB_Crowdfunding.git htdocs
  • Database
    1. While installing WAPP, it will ask for a password for the DB. Use test as the password.
    2. Using PG Admin 4, log in to the database using test as the password.
    3. Set up a new database called project1
    4. Set up the tables using /SQL/schema.sql

If you forgot your phpadmin password

(for Windows only, not sure about other OS)
  1. cd into \Bitnami\wappstack-7.1.21-0\postgresql\data
  2. open pg_hba.conf using any editor
  3. Under 'method' column, change 'md5' to 'trust'
  • You can also do the above if you want to skip the process of verifying db password
  • Dont do this if there are any local users you can't trust: )

Setting up Test Data

  1. cd into .\SQL
  2. Run the following in order
  3. Run cleanDatabase.sql, schema.sql, users.sql, projects.sql, invest.sql, updateProjectFunding.sql, funding_trigger.sql Alternatively, you can run ultimate.sql, funding_trigger.sql to load the same set of test data.

topicb_crowdfunding's People

Contributors

andrewome avatar arty9 avatar boon-jun avatar brandonccm1996 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.