Commit Graph

270 Commits

Author SHA1 Message Date
Matthew Lopez
0a6c2fd6b6 Delete useless docs header link 2024-05-29 20:35:51 -04:00
Matthew Lopez
6ce3e51f79 Caching the Docusaurus temp directory does not decrease the build time 2024-05-27 23:29:05 -04:00
Matthew Lopez
7d5b1c1563 Add Docusaurus temp directory caching 2024-05-27 23:18:38 -04:00
Matthew Lopez
77042ee61a Checkout the repository before setting up Node.js for caching 2024-05-27 22:50:31 -04:00
Matthew Lopez
36f78756b8 Create an Actions workflow for the documentation 2024-05-27 22:43:13 -04:00
Matthew Lopez
06b388231b Begin updating the docs to use Docusaurus features 2024-05-27 22:20:51 -04:00
Matthew Lopez
31a2339608 Improve the script messages if no console IP address is set 2024-05-27 20:48:12 -04:00
Matthew Lopez
be84670811 Add an index to the connection setup pages 2024-05-27 20:26:01 -04:00
Matthew Lopez
475a073126 Update the readme to have standard readme information
Also delete the less-useful directory readmes.
2024-05-27 14:33:44 -04:00
Matthew Lopez
777fa2533a Move all of the readme documentation to the docs site 2024-05-27 14:04:53 -04:00
Matthew Lopez
a45f27515b Disable docusaurus custom pages 2024-05-27 13:43:54 -04:00
Matthew Lopez
ab577616c6 Create a Pretendo Docker .code-workspace file
This maked developing in the different subfolders more convenient and also fixes loading the typscript intellisense from npm packages.
2024-05-27 13:43:54 -04:00
Matthew Lopez
f8d5cda26d Add starting the docs server to VSCode tasks 2024-05-27 13:43:46 -04:00
Matthew Lopez
4bc1c954ff Update docs dependencies 2024-05-25 22:06:33 -04:00
Matthew Lopez
ef0e777ed3 Create Dependabot config for the docs 2024-05-25 14:24:05 -04:00
Matthew Lopez
700ba614e2 Add relevant information to docs readme 2024-05-25 14:24:05 -04:00
Matthew Lopez
bb8b0a02bd Reformat docs configuration files 2024-05-25 14:24:05 -04:00
Matthew Lopez
d4eac92986 Delete example docs 2024-05-25 14:24:05 -04:00
Matthew Lopez
0618254bc4 Configure docs-only mode and delete other pages 2024-05-25 14:24:05 -04:00
Matthew Lopez
59abf42fde Disable Docusaurus blog 2024-05-25 14:24:05 -04:00
Matthew Lopez
2604bbf1c3 Customize Docusaurus config for this project 2024-05-25 14:24:05 -04:00
Matthew Lopez
9232e1db64 Create Docusaurus docs site from template 2024-05-25 14:24:01 -04:00
dependabot[bot]
3d5207302f Bump repos/website from d5b0873 to 5facbda (#65)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `d5b0873` to `5facbda`.
- [Commits](d5b0873802...5facbdacdf)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 16:02:47 -04:00
Matthew Lopez
1307fab457 Reduce non-verbose output in the scripts 2024-05-23 22:33:45 -04:00
Matthew Lopez
cb564e3f48 Create function to load.env files and refactor scripts 2024-05-23 21:21:46 -04:00
Matthew Lopez
811add80d3 Make all Node.js servers exit on SIGTERM
This prevents the extra 10-second delay when restating the servers.
2024-05-23 20:59:24 -04:00
dependabot[bot]
8a4c8dc88f Bump repos/website from 79d22e2 to d5b0873 (#64)
Bumps [repos/website](https://github.com/PretendoNetwork/website) from `79d22e2` to `d5b0873`.
- [Commits](79d22e2ec8...d5b0873802)

---
updated-dependencies:
- dependency-name: repos/website
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 15:50:09 -04:00
Matthew Lopez
106482ad84 Stop mitmproxy as well while restoring 2024-05-19 21:13:04 -04:00
Matthew Lopez
35e64a1044 Create verbose mode for all scripts and reduce default output
Man, dealing with passing arguments through multiple programs correctly is annoying. Tip: don't use eval, use "$@" instead.
2024-05-19 17:26:37 -04:00
Matthew Lopez
26a6737cdd Set default script directory to git_base_dir 2024-05-19 15:39:25 -04:00
Matthew Lopez
da0f0bbf0f Allow MongoDB and Postgres to restart in CI due to flakiness 2024-05-15 17:00:33 -04:00
Matthew Lopez
c1bb5fb6cc Switch the account server to the PNID settings fork
The CDN base URL needs to be set to HTTP because the account server gets the Mii images using it, and nginx does not have a valid SSL certificate.
2024-05-15 16:36:34 -04:00
Matthew Lopez
66962ac940 Switch CDN from cdn.pretendo.cc to pretendo-cdn.b-cdn.net
This helps the self-hosted setup match more closely with the Pretendo official servers and makes Wii U account swap homebrew work.
2024-05-15 15:44:25 -04:00
Matthew Lopez
88068ced97 Fix log statement 2024-05-15 14:18:09 -04:00
dependabot[bot]
da40c63293 Bump repos/Inkay from b239ae8 to b02db3f (#62)
Bumps [repos/Inkay](https://github.com/PretendoNetwork/Inkay) from `b239ae8` to `b02db3f`.
- [Release notes](https://github.com/PretendoNetwork/Inkay/releases)
- [Commits](b239ae82db...b02db3f20b)

---
updated-dependencies:
- dependency-name: repos/Inkay
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 16:18:41 -04:00
Matthew Lopez
161be6744d Add WIP public corefile for DNS connection method 2024-05-11 21:49:53 -04:00
Matthew Lopez
bedec9d604 Improve handling of repeated commands
This prevents infinite loops during setup.
2024-05-11 17:32:38 -04:00
Matthew Lopez
7275d3ba26 Create a simple server update script 2024-05-11 17:08:48 -04:00
Matthew Lopez
27ce02a296 Update FriendsAccountSwitcher to make saving before loading optional 2024-05-11 16:51:26 -04:00
Matthew Lopez
2c786f33ab Improve FriendsAccountSwitcher documentation after revert 2024-05-11 16:34:16 -04:00
Matthew Lopez
d8a7e25946 Revert "Add new 3DS friends account switcher instructions"
This reverts commit 1e45d6b418.
2024-05-11 16:22:30 -04:00
Matthew Lopez
353048d4b3 Create full environment reset script 2024-05-10 21:20:19 -04:00
Matthew Lopez
e434511155 Switch from environment/server.local.env to a global .env file 2024-05-10 20:54:52 -04:00
Matthew Lopez
b2d22f3836 Disable unused and broken nginx SSL support
It was causing timing issues in CI because of mitmproxy's certificate generation. Making this work for real will require compiling nginx from source anyway.
2024-05-11 00:53:13 +00:00
Matthew Lopez
c96c756a5f Of course I messed up the ln command order 2024-05-10 20:11:11 -04:00
Matthew Lopez
579672b4eb Delete unused account-certificates volume 2024-05-10 20:07:09 -04:00
Matthew Lopez
f7c906fa0b Move from running yq in CI to using a compose.ci.yml 2024-05-10 20:05:42 -04:00
Matthew Lopez
c52a802b7d Fix regression in checking whether local environment files exist 2024-05-10 17:42:16 -04:00
Matthew Lopez
bafb12e1d0 Fix error with calling setup-environment.sh in the setup script 2024-05-10 17:29:07 -04:00
Matthew Lopez
05a67989cd Rewrite scripts and improve user-friendliness
- Update all of the scripts to use Bash instead of sh so I can use arrays and other bashisms
- Create a complete Bash option parsing framework to replace function-lib.sh
- Rewrite all of the scripts to use this framework
- General script user-friendliness improvements, including loading existing environment variables by default instead of always requiring them to be specified
2024-05-10 17:22:25 -04:00