Files
baclight/start_rails.bat
T
2026-05-06 13:28:16 -04:00

10 lines
283 B
Batchfile

@echo off
cd /d "C:\\inetpub\baclight"
call bundle check || call bundle install --jobs 4
:: Start background jobs (Solid Queue or similar)
start /B bin/jobs start
:: Start Rails server on the port provided by IIS
call bundle exec rails server -p %HTTP_PLATFORM_PORT% -e production