Through the below steps Crater can be installed on any device whether it is Linux, MacOS or windows. Note, for Bahmni you can install crater using Bahmni docker compose as mentioned here (Bahmni LITE): Running Bahmni ON Docker.
The below steps are to be used only if you want to perform a standalone install of Crater.
Prerequisites:-
Docker installed on your device or visit : https://docs.docker.com/install/
Docker compose installed https://docs.docker.com/compose/install/(opens new window)
Clone the crater repository
git clone https://github.com/Bahmni/crater/
This page will help you to install crater on your own machine.
At the end of this module you will be able to install and run crater on your on machine using docker. These instructions are taken from Crater documentation here: https://docs.craterapp.com/installation.html#docker-installation
Command to follow :-
$ cd crater $ cp .env.example .env $ docker-compose up -d $ ./docker-compose/setup.sh
Run the above commands and go on your browser (http://localhost is default port) your crater installation wizard will start.
Do check the port on which crater is running in the docker file which you have cloned
Complete the installation wizard :-
The below window should appear if everything worked well.
On Installation wizard - Database setup, use below credentials:
Database Host:
db
Database Name:
crater
Database Username:
crater
Database Password:
crater
Verify the domain
Add your mail id and name.
Add your personal information
You are all set to use crater
Success
Successfully installed crater invoice solution using Docker