Giter Club home page Giter Club logo

crowdfundingbackend's Introduction

Barbelo Backend

Pre-Requirements:

  • PostgreSQL (our DBMS of choice)
  • Insomnia (to test the api)
  • PG Admin (to create databases and view their content)

Post clone instructions:

  1. Edit development settings in config/database.yml to suit your installation and existing db in postgresql (make sure adapter: postgresql). E.g:

    development:
       adapter: postgresql
       encoding: unicode
       database: Crowdfunding
       pool: 5
       host: localhost
       username: myusername
       password: mypassword
    
  2. Install all the gems from the gemfiles by typing this in terminal:

    bundle install
    
  3. Run all migrations to the database (changes to the database made by other users) by running this command in terminal:

    rake db:migrate
    
  4. Populate the database according to the seed file (located in db/seeds.rb) by running the following command in terminal:

    rake db:seed
    

Maintenance instructions:

  • Make sure that all changes you make in the database are in the form of migrations so that all other users can emulate your database when they pull from github
  • Push your project once a day if it is functional (do not if it is not)
  • When you pull from github, make sure to run "rake db:migrate" and "bundle install" to make sure your database is up to date with other collaborators and all gems are installed

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.