Giter VIP home page Giter VIP logo

plan-net_client's Introduction

Da Vinci Plan-Net Reference Implementation

Installation and Deployment

The client reference implementation can installed and run locally on your machine. Install the following dependencies first:

And run the following commands from the terminal:

# MacOS or Linux
git clone https://github.com/HL7-DaVinci/plan-net_client
cd plan-net_client
bundle install

Start PostgreSQL

Create the zipcode database:

rake db:create
rake db:migrate

Initialize the zipcode database once:

ruby db/seed_zipcodes.rb

Install and start memcached

instructions

Now you are ready to start the client.

rails s

The client can then be accessed at http://localhost:3000 in a web browser.

If you would like to use a different port it can be specified when calling rails. For example, the following command would host the client on port 4000:

rails s -p 4000

Reference Implementation

While it is recommended that users install the client locally, an instance of the client is hosted at Stay Tuned.

Users that would like to try out the client before installing locally can use that reference implementation.

Docker Container

If you prefer, you can also build the client application within a Docker container. When you run the Docker container, it will indicate the local port that should be used to access the client.

git clone https://github.com/HL7-DaVinci/plan-net_client
cd plan-net_client
docker build -t plan-net .
docker run -itP plan-net

Supported Browsers

The client has been tested on the latest versions of Chrome and Safari.

License

Copyright 2019 The MITRE Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Questions and Contributions

Questions about the project can be asked in the Da Vinci Plan-net stream on the FHIR Zulip Chat.

This project welcomes Pull Requests. Any issues identified with the RI should be submitted via the GitHub issue tracker.

As of October 1, 2022, The Lantana Consulting Group is responsible for the management and maintenance of this Reference Implementation. In addition to posting on FHIR Zulip Chat channel mentioned above you can contact Corey Spears for questions or requests.

plan-net_client's People

Contributors

bstewartlg avatar caspears avatar dhill avatar edward-miller-lcg avatar jammjammjamm avatar saulakravitz avatar seanmcilvenna avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

plan-net_client's Issues

Getting exception while executing

Hi Team,

I am getting the below exception while trying to run the client code:

Link Address: https://davinci-plan-net-client.logicahealth.org/

could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Rails.root: /plan-net_client

pg (1.1.4) lib/pg.rb:56:in initialize' pg (1.1.4) lib/pg.rb:56:in new'
pg (1.1.4) lib/pg.rb:56:in connect' activerecord (5.2.3) lib/active_record/connection_adapters/postgresql_adapter.rb:692:in connect'
activerecord (5.2.3) lib/active_record/connection_adapters/postgresql_adapter.rb:223:in initialize' activerecord (5.2.3) lib/active_record/connection_adapters/postgresql_adapter.rb:48:in new'
activerecord (5.2.3) lib/active_record/connection_adapters/postgresql_adapter.rb:48:in postgresql_connection' activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:811:in new_connection'
activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:855:in checkout_new_connection' activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:834:in try_to_checkout_new_connection'
activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:795:in acquire_connection' activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:523:in checkout'
activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in connection' activerecord (5.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:1014:in retrieve_connection'
activerecord (5.2.3) lib/active_record/connection_handling.rb:118:in retrieve_connection' activerecord (5.2.3) lib/active_record/connection_handling.rb:90:in connection'
activerecord (5.2.3) lib/active_record/migration.rb:554:in call' actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in block in call'
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in run_callbacks' actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in call' actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in call_app' web-console (3.7.0) lib/web_console/middleware.rb:22:in block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in call' railties (5.2.3) lib/rails/rack/logger.rb:38:in call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in block in call' activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in tagged' activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in call' actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in call'
rack (2.0.7) lib/rack/method_override.rb:22:in call' rack (2.0.7) lib/rack/runtime.rb:22:in call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call' actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in call' rack (2.0.7) lib/rack/sendfile.rb:111:in call'
railties (5.2.3) lib/rails/engine.rb:524:in call' puma (3.12.1) lib/puma/configuration.rb:227:in call'
puma (3.12.1) lib/puma/server.rb:660:in handle_request' puma (3.12.1) lib/puma/server.rb:474:in process_client'
puma (3.12.1) lib/puma/server.rb:334:in block in run' puma (3.12.1) lib/puma/thread_pool.rb:135:in block in spawn_thread'

Regards,
Aritra

Deployment?

Hey @dhill I've been trying to get a hold of you. Does this repo need to be moved to the hl7-davinci and deployed? I think you can start moving the repo on your end.. -Preston

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.