Commit 71e9890c by Mac Stephens

Add ini.example

parent b6fa04c7
......@@ -67,6 +67,10 @@ Client/BFD/**/__recovery/
Server/Source/BFD/__history/
# Machine-specific server settings (templates remain tracked)
Server/bin/BFD/BFDemiMobileServer.ini
Server/bin/WCSO/WCSOemiMobileServer.ini
# Agency server runtime libraries
!Server/bin/BFD/*.dll
!Server/bin/WCSO/*.dll
......
......@@ -41,8 +41,17 @@ server project. Include the complete website with assets, CSS, and configuration
Public URL paths are unchanged.
Configure each deployment's database, HTTP URL, WebSocket port, and client URLs.
The initial configuration copies retain the prior connection and listener settings;
running both servers on one machine requires distinct listener ports.
For a new installation, copy the agency's `.ini.example` file beside the executable
and remove `.example` from the filename. Fill in that machine's database and Twilio
settings. The real INI files are ignored by Git; commit changes to the sanitized
examples instead. Existing local INIs should not be overwritten when updating.
Running both servers on one machine requires distinct listener ports.
When first pulling the change that stops tracking the INIs on another machine,
back up its real INI files outside the checkout before pulling, then restore them
to their original locations afterward. Git may remove the previously tracked
copies during that first pull. Later pulls will leave these ignored files alone.
INI values already committed remain in Git history.
When upgrading, replace the old shared server project with these projects, rename
and relocate each deployment's INI/JSON beside its executable, and change
......
; Copy this file to BFDemiMobileServer.ini and configure it for this machine.
; The working .ini is local and is not tracked by Git.
[Application]
Agency=BFD
[Settings]
LogFileNum=0
webClientVersion=0.9.5.0
MemoLogLevel=3
FileLogLevel=4
[Twilio]
AccountSid=
AuthToken=
FromNumber=
; Used by WCSO. Replace placeholders before running.
[Postgres]
Server=YOUR_POSTGRES_HOST
Port=5432
Database=YOUR_DATABASE_NAME
Username=YOUR_DATABASE_USER
Password=
; Used by BFD. Server is the Oracle TNS alias on this machine.
[Oracle]
Server=YOUR_TNS_ALIAS
Username=YOUR_DATABASE_USER
Password=
[WebSocket]
Port=8091
; Copy this file to WCSOemiMobileServer.ini and configure it for this machine.
; The working .ini is local and is not tracked by Git.
[Application]
Agency=WCSO
[Settings]
LogFileNum=0
webClientVersion=0.9.5.0
MemoLogLevel=3
FileLogLevel=4
[Twilio]
AccountSid=
AuthToken=
FromNumber=
; Used by WCSO. Replace placeholders before running.
[Postgres]
Server=YOUR_POSTGRES_HOST
Port=5432
Database=YOUR_DATABASE_NAME
Username=YOUR_DATABASE_USER
Password=
; Used by BFD. Server is the Oracle TNS alias on this machine.
[Oracle]
Server=YOUR_TNS_ALIAS
Username=YOUR_DATABASE_USER
Password=
[WebSocket]
Port=8091
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment