Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prerequisites :-

This page will guide you through the installation of Crater for Bahmni payments on your PC

You can install Crater via Bahmni docker-compose easily. This is the recommended approach. Please see this documentation. The below mentioned installation step is only in case someone wants to perform a direct install of crater on their machine.

Prerequisites

  • MySql( if not installed steps are given in database creation).

  • Apache2

...

Download Crater Zip.

1.Download the crater zip from the link given below
https://craterapp.com/downloads

...

Code Block
apt install unzip -y
unzip crater.zip

Tip

At the end of this module you will be able to access crater and its database on your own PC .

Upload to Server

1.Install the apache web server

...

Do note to point the domain to the uploaded folder

Please note that, Crater must be installed on a primary domain or subdomain. Installing on a sub-folder will not work, for example:

Change permissions

In your crater root folder, run the command:

...

Code Block
certbot --non-interactive -m <validemailid> --agree-tos --no-eff-email --apache -d crater.abc.my.id --redirect

Tip

Try it now 👇

Now try running localhost or the domain which you are using

You will successfully be able to run installation wizard of crater in your own browser

...

Code Block
mysql -u root -p
mysql>create database crater;
mysql>create user 'crater'@'localhost' identified by 'secret';
mysql>grant all privileges on crater.* to 'crater'@'localhost';
mysql>flush privileges;
mysql>exit
Tip

Use this username,database and password whenever prompted in installation wizard

Installation Wizard :-

Check requirements and permissions

...

Add your information and you are all set to use crater.

...

Tip

Crater successfully installed