-
-
Save UbuntuEvangelist/325c68ab28422848c9b49279706a05d1 to your computer and use it in GitHub Desktop.
How to install HospitalRun On Linux Operating System
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd $HOME | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
sudo apt-get install gcc g++ make | |
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn | |
https://github.com/HospitalRun/hospitalrun-server/fork | |
#Clone it to your local machine | |
git clone https://github.com/rakibulinux/hospitalrun-server.git | |
#Avigate to the cloned folder: | |
cd hospitalrun-server | |
#Install the dependencies: | |
npm install | |
or | |
yarn install | |
#Run npm run dev or yarn dev to build and watch for code changes: | |
npm run dev | |
or | |
yarn dev | |
#A development database will start on | |
http://localhost:5984 | |
#You can access its Admin interface on | |
http://localhost:5984/_utils, | |
username: dev and password: dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!/bin/sh
To install HospitalRun on localhost run the following commands:
Clone repository:
git clone https://github.com/HospitalRun/hospitalrun.github.io.git
Thereafter, enter into the downloaded folder
cd hospitalrun.github.io
Run Bundler
sudo apt-get install ruby-dev
sudo apt-get install openssl ruby-openssl libssl-dev
sudo gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2 --use-system-libraries
sudo apt-get install libxslt-dev libxml2-dev
sudo apt-get install build-essential
sudo apt-get install libxslt-dev libxml2-dev
sudo gem install nokogiri
sudo apt-get install libgmp-dev
bundle install
sudo nano _config.yml
replace
Build settings
markdown: kramdown
theme: jekyll-theme-minimal
plugins:
sudo nano Gemfile
replace
source "https://rubygems.org"
Default theme for new Jekyll sites.
gem "github-pages", group: :jekyll_plugins
If you have any plugins, put them here!
group :jekyll_plugins do
gem 'jekyll-sitemap'
gem 'jekyll-feed'
gem 'jekyll-seo-tag'
end
bundle update
bundle exec jekyll serve
View the site at localhost:4000