Skip to content

Keep track of all leveled items required for mastery rank. Features tier-ranking, recommendations and in-depth information.

Notifications You must be signed in to change notification settings

andersbrandt/warframe-mastery-helper

Repository files navigation

Warframe Mastery Helper

Uses https://github.com/WFCD/warframe-items as data-source

Install

Run composer install in terminal

Run npm install in terminal

Copy file public/conf.php.sample to public/conf.php

Edit $conf["baseUrl"] and $conf["root"] in file public/conf.php to match your local file structure

Create file public/version.txt: touch public/version.txt

Add environment variables from file .env

Add database-scripts from file db/warframeHelper.sql

Run npm run updater && npm start in terminal

Environment variables

.env should contain SAFE_TO_PUBLISH=true

Database

SQL-scripts are in folder /db, update /public/conf.php with credentials

Start

Run npm run updater && npm start in terminal

Update Warframe data

Run npm run updater in terminal to fetch & update data-sources.

Use FTP sync

Rename .ftpconfig.js.sample to .ftpconfig.js

Edit .ftpconfig.js

Run npm run publish in terminal

Tests

Test are run using Cypress.io

Tests require file public/setuser.php with content:

<?php
include_once("conf.php");
$userData = [
    "id" => "38373",
    "oauth_provider" => "google",
    "oauth_uid" => "100000000000000000000",
    "uid" => "10000000-0000-0000-0000-000000000000",
    "locale" => "en-GB",
    "created" => "2020-06-01 01:01:01",
    "modified" => "2020-07-01 01:01:01",
    "first_name" => "TEST"
];
$_SESSION["userData"] = $userData;

// Set 'Aceltra' as saved data
$saveData = json_decode('["Acceltra"]', TRUE);
$saveData = str_replace('\\', "", $saveData);
$data = $wf->saveData($_SESSION['userData']["uid"], $saveData);

Supported by Warframe Community Developers

About

Keep track of all leveled items required for mastery rank. Features tier-ranking, recommendations and in-depth information.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published