-
-
Save LinauxTerminology/201f285db74d4c49d29a77eba1a2e04f 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