/Node-RED-Railway-Battlesnake

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Node-RED Battlesnake

A wrapper for deploying a Node-RED based Battlesnake into Railway.

Deploy on Railway

✨ Features

  • Node-RED accessible on HTTPS
  • Password Authentication (Set username & password in environment variables)
  • Persistent PostgreSQL database for flows, settings and more

🐍 How to Deploy

  1. Click Deploy on Railway
  2. Wait for Build & Deployment to Finish
  3. Refresh the Web Server x2 (See notes below)
  4. Login with credentials (Username: battle & Password: snake)

📝 Notes

  • Railway server currently requires 2x refreshes to successfully seed the database due to a 🐛 (PRs for fixes welcome 🙏)

Acknowledgements

The code used in this repository is based on incredible work from developers in the Node-RED Community and beyond including:

Node-RED Starter Code

Battlesnake Flow Code

Advanced Battlesnake Logic