Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mojolicious server batch file for Windows - runs on startup so you don't need a command prompt open all the time. Put a shortcut to myapp.vbs in the 'startup' folder, the actual myapp.vbs / deployment.bat files go in your app folder.
@echo off
perl C:\Users\yournamehere\myapp\ daemon -m production
CreateObject("Wscript.Shell").Run "C:\Users\yournamehere\myapp\deployment.bat",0,True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.