Skip to content

gdziuba/FF_Send-File-to-NR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send a File to Node-RED

This is the framework that will allow a user to create a simple web application that will allow the user to send a file to a Node-RED instance from a browser.

To run in production please follow these steps. The process below is not meant for production.

Requirements

  • Python 3.X
  • Flask (installed when running bat or .sh)
  • requests (installed when running bat or .sh)

Configuration

Edit the lines in the body of index.html to include the endpoints to which you would like to send the files.

<option value="http://localhost:1880/fileupload">CSV File Upload</option>

Operating Systems

Windows

Clone the repository:

git clone https://github.com/gdziuba/FF_Send-File-to-NR.git

Navigate to the directory:

cd FF_Send-File-to-NR

Run the script:

.\start_app.bat

This will install if necessary, start the Flask Application, and take you to localhost:5000 on the browser.

Linux

Clone the repository:

git clone https://github.com/gdziuba/FF_Send-File-to-NR.git

Navigate to the directory:

cd FF_Send-File-to-NR

Make the script executable: Run:

chmod +x setup_and_run.sh

To Run:

./setup_and_run.sh

To access the application, open a browser to the ip:5000 of the running application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published