Skip to content

Davidpavan/payment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payment Service

This service is responsible for payments in RoboShop e-commerce app.

This service is written on Python 3, So need it to run this app.

  1. Create a user for running the application
# useradd -m -s /bin/bash roboshop
  1. Download the repo.
$ cd /home/roboshop
$ curl -L -s -o /tmp/payment.zip "https://github.com/zelar-soft-roboshop/payment/archive/main.zip"
$ unzip /tmp/payment.zip
$ mv payment-main payment
  1. Install Python Dependency Installer
# apt update
# apt install python3-pip -y 
  1. Install the dependencies
# cd /home/roboshop/payment 
# pip3 install -r requirements.txt

Note: Above command may fail with permission denied, So run as root user

  1. Update the roboshop user and group id in payment.ini file.

  2. Setup the service

# mv /home/roboshop/payment/systemd.service /etc/systemd/system/payment.service
# systemctl daemon-reload
# systemctl enable payment 
# systemctl start payment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%