Code Monkey home page Code Monkey logo

sparc-fulfillment's Introduction

Latest stable release v2.1.0

Work Fulfillment

Customize the header background color and logos

  1. Add institution specific CSS to /sparc-fulfillment/app/assets/stylesheets/customize.sass
  2. Create a custom version of /sparc-fulfillment/app/views/application/_header.html.haml
  3. Add the customized versions of app/assets/stylesheets/customize.sass and app/views/application/_header.html.haml to your server's /shared/ directory
  4. Update your config/deploy.rb to include the two aforementioned files in the list of linked_files: set :linked_files, fetch(:linked_files, []).push('app/assets/stylesheets/customize.sass', 'app/views/application/_header.html.haml', 'config/database.yml', ....)

Configure developer workstation to run both sparc-request and sparc-fulfillment

  1. git clone https://github.com/sparc-request/sparc-fulfillment.git
  2. rvm install ruby-2.1.5
  3. rvm use ruby-2.1.5
  4. bundle install
  5. create local database for rails server:
  6. CREATE SCHEMA sparc_fulfillment; GRANT ALL ON sparc_fulfillment.* TO 'sparc'@'localhost';
  7. create local test databases:
  8. CREATE SCHEMA test_sparc_fulfillment; GRANT ALL ON test_sparc_fulfillment.* TO 'sparc'@'localhost';
  9. CREATE SCHEMA test_sparc_request; GRANT ALL ON test_sparc_request.* TO 'sparc'@'localhost';
  10. configure local databases named sparc_fulfillment, test_sparc_fulfillment, and test_sparc_request for development and test environments:
  11. configure config/database.yml to connect to your dev and test databases
  12. configure config/shards.yml to connect to your dev and test sparc-request databases
  13. configure config/faye.xml
  14. configure .env by copying from dotenv.example
  15. run: rake db:migrate
  16. run tests: bundle exec rspec
  17. configure and start sparc-request on port 3000 with:
  18. configure application.yml: 1. remote_service_notifier_host: "127.0.0.1:5000" 2. host: "127.0.0.1:3000" 3. clinical_work_fulfillment_url: http://127.0.0.1:5000
  19. rails server
  20. bundle exec script/delayed_job start
  21. in catalog manager: turn on "Fulfillment" for an Institution, Provider, Program, or Core and give yourself "Fulfillment Provider Rights"
  22. start sparc-fulfillment on port 5000 with:
  23. rails server -p 5000
  24. bundle exec bin/delayed_job start
  25. thin -C config/faye.yml start

sparc-fulfillment's People

Contributors

amcates avatar bigchiefsmidgeums avatar bkelsey avatar fordsar avatar goleksiak avatar jleonardw9 avatar jwiel86 avatar marklohr avatar stuart-johnson avatar wenjunhe1027 avatar wtholt avatar ying-pbrc avatar

Watchers

 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.