Giter VIP home page Giter VIP logo

irb's Introduction

IRB

This application is used to approve, monitor, review, and track research done by faculty at Clayton State University.

This was developed as a part of my senior project for the Computer Science program.

Running the Application Locally

The application has the following dependencies:

Begin by cloning the repository (or downloading the source from this repository).

$ git clone https://github.com/caseyscarborough/irb
$ cd irb

Update the DataSource.groovy file with the credentials and database name used for your MySQL database.

dataSource {
  pooled = true
  driverClassName = "com.mysql.jdbc.Driver"
  dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"
  username = "root"  // Set your username and password here
  password = ""
  dbCreate = "none"
}

environments {
  development {
    dataSource {
      // Update the connection string below
      url = "jdbc:mysql://localhost:3306/irb_development"
    }
  }
}

Edit the Config.groovy file with your desired configuration.

irb {
  // Filetypes that can be uploaded with an application
  supportedFiletypes = [ 'PDF', 'JPG', 'PNG', 'GIF', 'DOCX', 'DOC', 'XLS', 'XLSX', 'JPEG' ]

  // The max file size for an uploaded file
  maxFileSize = 100000000 // 100MB

  // The location to upload user's files to
  uploadLocation = "/path/to/directory"       // Unix-based OS
  uploadLocation = "C:\\Path\\To\\Directory"  // Windows-based OS
}

Then run the Grails database migrations on your database to create the necessary schema.

Note: All Grails commands can be run without Grails being installed by using the Grails wrapper in this repository. Just replace each call to the grails command with the grailsw or grailsw.bat file (depending on your OS).

$ grails dbm-update

You should now be able to start up the application.

$ grails run-app

Navigate to localhost:8080/irb in your browser to see the application in action.

Deploying the Application

To deploy the application, ensure that the necessary configuration options shown above have been set, then issue the following command from the root of the application:

$ grails war irb.war

The WAR file will be generated at target/irb.war, which can then be uploaded and deployed to Tomcat or the application server of your choice.

irb's People

Contributors

caseyscarborough avatar

Watchers

James Cloos 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.