Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNA-1903 - Create steps to run POSSUM on a register #25

Merged
merged 9 commits into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 69 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,44 @@ Add origins to environment `CORS_ORIGINS` variable separated by a comma (,)
- Go to your terminal, then enter "git clone (project link)"
- Enter your credentials (if prompted)
- Once cloned, go to your development environment and click open, and navigate to the project in your finder/folder.
- Ensure the project is configured to build using Java 17
- Once opened, build the project using Gradle commands
- To run Possum on your local machine will require spring profile environment variable
- To run POSSUM on your local machine will require spring profile environment variable
- ```export SPRING_PROFILES_ACTIVE=local```
- To run simulator use ```./gradlew run -DuseSimulators=true```

## Running POSSUM on a POS Computer
Requirements:
- Java 17
- POS Hardware drivers (provided by the manufacturer)
- Note: ensure all dependencies for physical POS devices are installed (i.e. libusb for Honeywell scanners)

Verified Supported OS:
- CentOS 7
- Ubuntu
- NOTE: this is a Java application and can run many OS.

- Follow Running POSSUM Locally to ensure you are able to compile and run POSSUM (NOTE: this does not need to be done on a POS computer)
- Install the OS on the POS computer (refer to the Supported OS list above)
- Install Java 17 on POS computer
- Make the following directories:
- `sudo mkdir /opt/target`
- `sudo mkdir /opt/target/possum`
- `sudo mkdir /opt/target/possum/externalLib`
- Compile POSSUM to create a jar file
- Copy jar file and following src/main/resource files from the development machine to the POS computer /opt/target/possum directory
- `devcon.xml`
- `devicestarter.sh`
- `ECIEncoding.csv`
- `IHSParser.csv`
- `LabelIdentifiers.csv`
- `PossumDeviceManager-1.0.jar`
- Install necessary libraries and JPOS drivers for your hardware (i.e. Honeywell scanners require libusb)
- For devices not already supported, update the devcon.xml file
- Launch POSSUM:
- Navigate to /opt/target/possum
- To run use `sudo domenv=labs sh devicestarter.sh`

## API Specs
<details>
<summary>Scanner</summary>
Expand Down Expand Up @@ -346,7 +379,38 @@ https://github.com/JavaPOSWorkingGroup

https://repo1.maven.org/maven2/org/javapos/javapos/1.14.1/





## Supported Devices
Flatbed Scanner
- Datalogic 2300 Scanner
- Datalogic 3550 Scanner
- Datalogic 8200 Scanner
- Datalogic 8400 Scanner Scale
- Datalogic 8400 Scanner
- Datalogic 8405 Scale
- Datalogic 9400 Scanner
- Datalogic 9400 Scanner Scale
- Zebra MP7000 Scanner
- Zebra MP7001 Scanner Scale

Handheld Scanner
- Honeywell 1900/1950 Scanner

MICR
- NCR 7167 MICR

Line Display
- NCR 5975 Line Display Serial
- NCR 5976 Line Display Serial
- NCR 5976 Line Display USB
- NCR 5977 Line Display USB

Receipt Printer
- NCR POS Printer F309
- NCR POS Printer 7167
- NCR POS Printer EPIC 7199
- NCR POS Printer USB 7199

Cash Drawer
- Cash Drawer ELO Computer
- Cash Drawer NCR Computer
- Cash Drawer NCR via printer port