This page will guide you through the installation of Crater for Bahmni payments on your PC
...
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 |
---|
sudo nano /etc/apache2/sites-available/crater.abc.my.id.conf |
Paste the content given below :-
...
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 |