You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /tests directory contains a test index.ts file for testing the building, installing, running and unsinstalling the RPM and Debian packages as a service
Building
To build the application for local use:
Clone the application
Run npm i to install required dependencies
To build an RPM to install on a Linux distribution:
Complete the steps listed above
Run the build.bat file
Once the RPM is build, it should be located in the /shared directory
Installing
To install the RPM:
Navigate to the directory containing the RPM package
Open a terminal
Run sudo dnf install leek-duck-0.0.1-1.el8.noarch.rpm
The above step should install the service as well as the required dependencies
To confirm the service is running:
Run systemctl status leek-duck
Running
To run the aplication in dev mode:
Run npm run dev to run in dev mode or,
Run ts-node index.ts
Rasberry Pi?
If you want to run this on a rasberyr pi the only way I found that works so far is:
A Simple web scraper to get Pokemon go events once a day using a chron job with rpm generation for RPM based Linux installations or .deb generatiosn for Debian based Linux distributions