the-hideout / tarkov-data-manager

The Tarkov Data manager web app to manage the sql database
GNU General Public License v3.0
11 stars 3 forks source link
database manager-system webapp

Tarkov Data Manager 🛢️💻

ci Discord

The Tarkov Data Manager, which is forked from kokarn's original creation, is a tool to manage the Tarkov item data.

It is a web application that allows you to do the following:

Components 🛠️

This repo contains two main components:

Tarkov Data Manager

The Tarkov Data Manager can be run locally without Docker by running the following commands:

This section is still under construction. We are working on creating a local environment to test the application locally with Docker and a mock instance of the database. Right now, developers connect to a testing branch of the prod database. Developers also need database credentials stored in src/tarkov-data-manager/creds.env. For active developers with database connections, you can run the following commands:

  1. Enter the proper directory:

    cd src/tarkov-data-manager
  2. Install dependencies:

    npm install
  3. Run the application:

    npm run dev

Example 📸

local example

Running locally with Docker 🐳

This is the suggested option for local development

First, edit the src/tarkov-data-manager/creds.env file to include your proper credentials.

An example of this file can be found at src/tarkov-data-manager/creds.env.example.

You now have two options to start the docker-compose stack (both do the exact same thing):

Browse to your web app when it starts up localhost.

You can test that the database has initialized correctly with the sample data by exec'ing onto the database container and running the following command:

mysql -u root -p'password' -e "USE tarkov; SELECT COUNT(*) FROM price_data;"

creds.env variables

The following variables should be configured in your creds.env file for the data manager to function properly: