Let's make sure our Express app has the required base modules:
# within root of API
npm install --save express pg knex bcrypt
npm install --save-dev nodemon
// How to run it | |
// Requires nodejs LTS, git, python2 | |
// Open command line and move to the folder where this script is stored | |
// Edit the script and modify storage location (line 87) | |
// Check the startDate and EndDate and modify it if you need another timeframe (line 102 - 103) | |
// Stop the farmer | |
// Execute "npm install storj-lib" | |
// Execute "node Storj_Farmer_Contracts.js" | |
// Start the farmer |
import javafx.animation.FadeTransition; | |
import javafx.application.Application; | |
import javafx.beans.property.ReadOnlyObjectProperty; | |
import javafx.collections.*; | |
import javafx.concurrent.*; | |
import javafx.geometry.*; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.effect.DropShadow; | |
import javafx.scene.image.*; |