Commit graph

171 commits

Author SHA1 Message Date
Daniel Ceregatti
07eb8ac7ff Add a config object to hold values like API hosts, instead of hard coding it to my local machine's name.
Make sure the file exists before trying to read it.
2023-09-11 17:26:16 -07:00
Daniel Ceregatti
4c3823d9bc Use a .env file to drive states of the stack, i.e. development or not.
Ignore the .env file.
2023-09-11 14:41:27 -07:00
Daniel Ceregatti
4b0efda369 Add integration for MMG - Mightys Military Gear and SNAFU Weapons. 2023-09-11 13:02:03 -07:00
Daniel Ceregatti
b1448d8860 Add cfgeventspawns.xml integration!
Add quirk to handle upstream XMLs not having the correct nodes.
Add initial map install based on the map in the config.
Add package to allow for XML merging in the server container.
Add an environment variable that prevents the server from starting, to test mod XML integration at server start.
Back up logs into dedicated directories based on the date when the server exits.
Improve logic for copying XML files into mpmissions.
Fix status output formatting.
Get map name from the config at script start in the server script.
Refactor XML env scripts so they don't have a hashbang.
Refactor one mod's integration with the new file naming convention.
2023-09-09 11:02:24 -07:00
Daniel Ceregatti
67cbb8319f Remove packages from the web container that were only needed in the server container. 2023-09-08 17:17:57 -07:00
Daniel Ceregatti
e6a381315f Fix lack of root node in XML when normalizing.
Refine output to only show relevant info when starting the server.
Filter mod integration by current map, even if other mpmissions directories should exist.
Remove previous cfgeconomy directories when starting, to prevent previous files from possibly existing.
Orchestrate the retrieval and normalization of XML files as 'dz x ID' now does both.
2023-09-08 12:13:29 -07:00
Daniel Ceregatti
974550da94 Handle bash logic correctly. 2023-09-08 11:51:01 -07:00
Daniel Ceregatti
287425cf9d Remove extra line. 2023-09-08 11:50:07 -07:00
Daniel Ceregatti
dd1129ee51 Remove FIX variable, as it's not necessary...yet. 2023-09-08 11:49:51 -07:00
Daniel Ceregatti
42c63dccc0 Add BaseBuildingPlus integration. This one publishes a types.xml in its mod directory, but this file lacks the root node. Adding hooks to handle specific fixes for files. 2023-09-08 11:20:11 -07:00
Daniel Ceregatti
29018b1053 Add CodeLock integration. 2023-09-07 19:53:47 -07:00
Daniel Ceregatti
a5a8464045 Use remote versions of the previously local files, now that we submitted a PR upstream and it was accepted and merged. 2023-09-07 17:17:04 -07:00
Daniel Ceregatti
51894c45ae Add Deer Isle Red Falcon Watercraft integration.
Add the ability to use local files for mod integrations.
2023-09-07 17:12:21 -07:00
Daniel Ceregatti
39f535feef There are no mpmissions in the server container when it starts for the first time. Ensure Chernarus is copied over as a default when this is detected, as the server is expected to start successfully. Presumes a default config where the map hasn't been changed.
Make development work by setting an environment variable.
Set the web container to restart instead of not, should the express server crash.
Copy XML files that are merged when the server  starts only when the mpmissions directory exists.
Refactor XML functions for better naming.
Handle display of lists when no mods are installed.
Add support for adding mpmissions for Deer Isle and mpmissions in general via mod integrations.
Add support for Red Falcon Watercraft XML files. WIP.
Add a deer isle DayZ bicycle spawn file.
2023-09-07 12:12:00 -07:00
Daniel Ceregatti
643cac2f2d There are no mpmissions in the server container when it starts for the first time. Ensure Chernarus is copied over as a default when this is detected, as the server is expected to start successfully. Presumes a default config where the map hasn't been changed.
Make development work by setting an environment variable.
Set the web container to restart instead of not, should the express server crash.
Copy XML files that are merged when the server  starts only when the mpmissions directory exists.
Refactor XML functions for better naming.
Handle display of lists when no mods are installed.
Add support for adding mpmissions for Deer Isle and mpmissions in general via mod integrations.
Add support for Red Falcon Watercraft XML files. WIP.
Add a deer isle DayZ bicycle spawn file.
2023-09-07 12:09:43 -07:00
Daniel Ceregatti
887374587d There are no mpmissions in the server container when it starts for the first time. Ensure Chernarus is copied over as a default when this is detected, as the server is expected to start successfully. Presumes a default config where the map hasn't been changed.
Make development work by setting an environment variable.
Set the web container to restart instead of not, should the express server crash.
Copy XML files that are merged when the server  starts only when the mpmissions directory exists.
Refactor XML functions for better naming.
Handle display of lists when no mods are installed.
Add support for adding mpmissions for Deer Isle and mpmissions in general via mod integrations.
Add support for Red Falcon Watercraft XML files. WIP.
Add a deer isle DayZ bicycle spawn file.
2023-09-07 12:08:12 -07:00
Daniel Ceregatti
5db38636c4 Install chernarus in mpmissions when it's not detected, to retain turnkey functionality.
Update docs.
2023-09-05 17:51:07 -07:00
Daniel Ceregatti
212da43d0a Add support for processing local XML files, as some times mods include them.
Add DayZ Bicycle XML integration.
Update docs.
2023-09-05 17:35:17 -07:00
Daniel Ceregatti
45631496f4 Update docs to account for the need to install mpmissions by hand. 2023-09-05 17:28:26 -07:00
Daniel Ceregatti
ad2f547845 Refactor function name so it's different between web and server containers.
Fix typo.
2023-08-31 17:05:57 -07:00
Daniel Ceregatti
d176eadea0 Add step that copies the server config file from the repo to the container. 2023-08-31 12:02:08 -07:00
Daniel Ceregatti
5deda87b31 Fix list formatting. 2023-08-30 23:45:13 -07:00
Daniel Ceregatti
65840a79c5 Refactor everything the relies on getting a mod by index in a listing. This had to account for context such needing to maintain mod ordering when starting the server.
Moved a lot of the functions out of scripts and into common and consolidated.
Fix some output formatting.
Make key copying only happen in a server.
2023-08-30 18:08:08 -07:00
Daniel Ceregatti
09b08a9978 Revert the server script back to starting the server instead of doing nothing. 2023-08-29 12:51:25 -07:00
Daniel Ceregatti
ed17cdc7a1 Remove shared objects added for the release branch. 2023-08-29 12:46:56 -07:00
Daniel Ceregatti
6bcc518ad8 Revert back to the exp appid. 2023-08-29 12:40:09 -07:00
Daniel Ceregatti
35c0f0a3ba Merge pull request 'release-server' (#2) from release-server into main
Reviewed-on: https://ceregatti.org/git/daniel/dayzdockerserver/pulls/2
2023-08-29 19:32:35 +00:00
Daniel Ceregatti
a2c0076add Revert the README back to what was on main. 2023-08-29 12:29:56 -07:00
Daniel Ceregatti
899dba27e8 Remove gdb and strace, as we're no longer debugging in containers. Also remove python3-pip, as that's not needed here. 2023-08-29 12:05:51 -07:00
Daniel Ceregatti
c48f0d60ff When creating symlinks, remove more than just spaces from mod names, again. 2023-08-25 18:08:55 -07:00
Daniel Ceregatti
745788560f When creating symlinks, remove more than just spaces from mod names. 2023-08-25 17:41:46 -07:00
Daniel Ceregatti
29ce456543 Let's just use the store to do all reactivity.
Refactor the DOM to allow for "sections".
Add our start.sh scripts to /usr/local/bin in the image.
Add a config for Vue.
Remove globalproperties, as this...sucks.
2023-08-14 09:10:35 -07:00
Daniel Ceregatti
6db8cc4eff Really REALLY REALLY fix docs. 2023-07-25 15:15:04 -07:00
Daniel Ceregatti
894e734587 Really REALLY fix docs. 2023-07-25 15:10:08 -07:00
Daniel Ceregatti
f2d54925c2 Really fix docs. 2023-07-25 15:08:57 -07:00
Daniel Ceregatti
fdfa4744aa Fix docs. 2023-07-25 15:06:50 -07:00
Daniel Ceregatti
5e6c31aaf3 Fix path to xml.sh 2023-07-25 15:05:13 -07:00
Daniel Ceregatti
703ab57bd3 Fix RCON port 2023-07-25 15:04:57 -07:00
Daniel Ceregatti
6d1b7508b1 Update docs. 2023-06-17 18:04:31 -07:00
Daniel Ceregatti
cda7ae92c7 Add TL;DR part 2, adding mods. 2023-06-16 18:57:32 -07:00
Daniel Ceregatti
1de1fe8b6b Fix call to bogus function.
Fix equivalent of bogus function.
2023-06-16 18:26:24 -07:00
Daniel Ceregatti
19bf33706e Remove unnecessary libSDl packages. 2023-06-16 18:07:01 -07:00
Daniel Ceregatti
2395f43024 Move this to the correct script. 2023-06-16 17:13:09 -07:00
Daniel Ceregatti
2d2cf6ba35 Ensure the WORKSHOP_DIR exists when we run. 2023-06-16 17:11:37 -07:00
Daniel Ceregatti
5d1d2433c9 Add mission files installation step. 2023-06-16 16:35:19 -07:00
Daniel Ceregatti
e3f8414bfe Fix garbage. 2023-06-16 16:27:17 -07:00
Daniel Ceregatti
e346b0d90a Don't forget to switch to the branch!
Also, since this is a fresh release install, don't bother moving any old binary out of the way.
2023-06-16 16:25:45 -07:00
Daniel Ceregatti
0872b2ceb7 Don't forget to npm install! 2023-06-16 15:51:00 -07:00
Daniel Ceregatti
8b394a477c Fix instructions. 2023-06-16 15:48:20 -07:00
Daniel Ceregatti
52f96f7384 Update docs. 2023-06-16 10:46:47 -07:00