Commit Graph
100 Commits
Author SHA1 Message Date
Max Schmidt ca7e679ebb Optimize caching for static files 2023-10-24 10:05:51 +02:00
Max Schmidt d8429c43a6 Remove ViewTransitions component from Layout 2023-10-24 10:05:20 +02:00
Max Schmidt 2a5dd51d5b Update error page to display 404.html 2023-10-24 10:03:23 +02:00
Max Schmidt 5e9cbcf5c8 Add 404 page layout 2023-10-24 10:01:33 +02:00
Max Schmidt 496702f2ab Update nginx.conf with new gzip and caching settings 2023-10-24 10:01:24 +02:00
Max Schmidt 07a19d407e Update error page to /index.html 2023-10-24 09:55:04 +02:00
Max Schmidt 5df7cd72c8 Update nginx.conf to listen on port 80 2023-10-24 09:53:24 +02:00
Max Schmidt 9793bdaab9 Add error_page.html for 404 errors 2023-10-24 09:50:08 +02:00
Max Schmidt e062d42e66 Update nginx.conf with gzip configurations and server block for static file caching and serving 2023-10-24 09:46:18 +02:00
Max Schmidt 254cdcfda7 Increase worker connections to 1024 2023-10-24 09:43:46 +02:00
Max Schmidt ccd03f11c7 Add nginx.conf for production environment 2023-10-24 09:40:04 +02:00
Max Schmidt 12cb58b891 test
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-10-24 09:38:55 +02:00
Max Schmidt 56d817ed34 declare prefetch only once
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:12:30 +02:00
Max Schmidt 7bd3a6f06a prefetch all links
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:10:50 +02:00
Max Schmidt 5ac061ca7d prefetch posts
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:09:46 +02:00
Max Schmidt fd20d085ba update styling
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:08:39 +02:00
Max Schmidt a6d794000a add astro prettier plugin
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:06:28 +02:00
Max Schmidt c353c228c8 remove global.css
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:01:58 +02:00
Max Schmidt 7872c6dbd6 upgrade dependencies
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-15 21:01:50 +02:00
Max Schmidt b82c608838 remove fade transition
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:52:07 +02:00
Max Schmidt 51f8971604 morph title
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:33:01 +02:00
Max Schmidt 3363396db3 remove fade transition
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:22:05 +02:00
Max Schmidt 4987d40678 add slash behind link
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:13:20 +02:00
Max Schmidt 2e2aa10362 add .env
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:10:09 +02:00
Max Schmidt 6478140b11 typo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 18:09:52 +02:00
Max Schmidt e040b61482 add REPOSITORY to .env and replace it in workflow
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-14 17:42:05 +02:00
Max Schmidt 7b177bcdc7 upgrade dependencies
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-12 12:04:54 +02:00
Max Schmidt aa3dda41b5 no dir listing
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-11 11:05:18 +02:00
Max Schmidt b55df10410 experiment to use fileserver from deno instead of nginx
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-08-11 11:05:01 +02:00
Max Schmidt 5ccf5071fa Refactor Dockerfile commands for astro and payload folders 2023-08-11 00:33:40 +02:00
Max Schmidt 6c14f1cbad Use new ViewTransition
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-07-28 17:22:41 +02:00
Max Schmidt 25f50c90f6 Revert "Use semver"
This reverts commit af0c6ab782.
2023-07-28 17:03:49 +02:00
Max Schmidt b5e8be0e5d Revert "Update start containers command to use npm instead of yarn and update deployment command to use npm instead of yarn prod"
This reverts commit d541cf9b63.
2023-07-28 17:03:25 +02:00
Max Schmidt 27dfaa8f6a Revert "Switch to npm"
This reverts commit ce5bf1edf0.
2023-07-28 17:02:19 +02:00
Max Schmidt af0c6ab782 Use semver
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-07-28 16:32:23 +02:00
Max Schmidt d541cf9b63 Update start containers command to use npm instead of yarn and update deployment command to use npm instead of yarn prod 2023-07-28 16:26:15 +02:00
Max Schmidt ce5bf1edf0 Switch to npm
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-07-28 16:23:49 +02:00
Max Schmidt 2b8e08fd19 Remove unnecessary security headers in prod docker-compose file 2023-07-20 14:13:25 +02:00
Max Schmidt 99fd68aa31 Disable compression and critters, compress HTML and inline stylesheets automatically 2023-07-11 17:57:27 +02:00
Max Schmidt d096c22911 Add development check before triggering workflow
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-06-27 00:09:30 +02:00
Max Schmidt eded296fd8 Cancel previous runs before triggering build 2023-06-27 00:06:19 +02:00
Max Schmidt 1c1acd2129 Remove yarn.lock from .gitignore 2023-06-23 01:02:31 +02:00
Max Schmidt 23eb329a31 Add yarn.lock for dependabot
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-06-23 01:01:29 +02:00
Max Schmidt bd48dcdef6 Add prettier configuration and dev dependencies 2023-06-18 19:45:41 +02:00
Max Schmidt 5c78039be0 Update dev script command in package.json 2023-06-18 19:33:42 +02:00
Max Schmidt 32d398de4b Update skipcache URL in astro Dockerfile 2023-06-18 19:32:54 +02:00
Max Schmidt 1eef88c3d8 Fix package.json description formatting 2023-06-18 18:00:48 +02:00
Max Schmidt 507c07fb7b Update package name and description 2023-06-18 18:00:27 +02:00
Max Schmidt 8e7d0c30fe Add automatic restart to mongo service 2023-06-18 10:14:32 +02:00
Max Schmidt ec06f7e00b Add output directories to tsconfig path 2023-06-17 12:46:28 +02:00
Max Schmidt 0f9a1c36f5 Add tsconfig.json to production container 2023-06-17 12:41:31 +02:00
Max Schmidt 9f78d9abb4 Update version numbers and package descriptions 2023-06-17 12:36:40 +02:00
Max Schmidt 5a65ef73ae Delete Astro Starter Kit README 2023-06-17 12:36:31 +02:00
Max Schmidt ebfeca61c5 Update serve command to support TypeScript paths 2023-06-17 12:32:53 +02:00
Max Schmidt 4edfce0815 Fix path to src folder in tsconfig 2023-06-17 12:29:34 +02:00
Max Schmidt f83cb88bfd Update nodemon.json & package.json scripts to use tsconfig-paths 2023-06-17 12:25:57 +02:00
Max Schmidt b7f60e1f47 Refactor import paths in Content.astro 2023-06-17 12:24:56 +02:00
Max Schmidt 3a2ec92cde Refactor import statements to use absolute paths 2023-06-17 12:21:29 +02:00
Max Schmidt 7afdc0dd92 Update import paths and tsconfig options 2023-06-17 10:51:35 +02:00
Max Schmidt 08df56c679 Refactor imports in Astro project 2023-06-17 10:50:48 +02:00
Max Schmidt e4ccd21a23 Ignore Dockerfile and README.md in astro and payload directories 2023-06-17 10:48:50 +02:00
Max Schmidt 84a0853f51 Simplify volume mapping in docker-compose-dev.yml 2023-06-17 10:48:10 +02:00
Max Schmidt a5983a71ea Add daily updates for npm packages in Astro and Payload directory 2023-06-17 01:29:28 +02:00
Max Schmidt c61734e799 Add yarn logs to .gitignore 2023-06-17 01:24:33 +02:00
Max Schmidt e3a9a19b61 Add version number to package.json 2023-06-17 01:23:45 +02:00
Max Schmidt ff391bf11c Remove redundant tsconfig exclude 2023-06-17 01:23:19 +02:00
Max Schmidt 99a1eded0f Add MIT license
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-06-15 18:43:59 +02:00
Max Schmidt c2aaf5f951 Exclude types file from git tracking 2023-06-15 15:54:33 +02:00
Max Schmidt 4b7f1a7c82 Add GitHub repository to .env and compose file 2023-06-15 15:36:50 +02:00
Max Schmidt 769bf80ca7 Replace MONGODB_URI with secrets 2023-06-15 15:15:21 +02:00
Max Schmidt df7a0b2870 Update git clone URL to use SSH protocol 2023-06-15 15:06:24 +02:00
Max Schmidt 297cac4533 Update secrets and variables formatting 2023-06-15 14:57:01 +02:00
Max Schmidt ac3c1dfde0 Update formatting and add clarity to README 2023-06-15 14:56:17 +02:00
Max Schmidt 764b4e5d23 Add secrets and variables configuration 2023-06-15 14:55:24 +02:00
Max Schmidt 317e01c498 Add environment variable NAME to docker-compose.yml 2023-06-07 12:21:40 +02:00
Max Schmidt 9e94b582d8 Fix github API endpoint in Posts.ts 2023-06-07 12:21:03 +02:00
Max Schmidt 1acdb2a58e Update replace_env function to use awk 2023-06-07 12:08:29 +02:00
Max Schmidt c55f1d6afc Update sed delimiter to use # instead of / in push.yml 2023-06-07 10:58:21 +02:00
Max Schmidt 2c3b26a809 Update PAYLOAD_SERVER_URL to PAYLOAD_URL and remove unused env var 2023-06-07 10:53:39 +02:00
Max Schmidt fe5a99f370 Remove unnecessary environment variable 2023-06-07 10:46:31 +02:00
Max Schmidt 136e4e67cd Create astro directory and copy .env there 2023-06-07 10:42:55 +02:00
Max Schmidt 91f6efb772 Add PAYLOAD_SERVER_URL to environment variables 2023-06-07 10:39:23 +02:00
Max Schmidt 100412c783 Simplify setup for developing website with Astroad 2023-06-07 10:30:43 +02:00
Max Schmidt 36678d38b7 Update Astro and Payload dependencies 2023-06-07 10:21:48 +02:00
Max Schmidt 3a39f967ef Update environment variables on deployment 2023-06-07 10:19:45 +02:00
Max Schmidt 7244fb1d53 Update .gitignore and Media collection configuration 2023-06-06 17:29:03 +02:00
Max Schmidt bb54d5e30c hallo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 14:35:46 +02:00
Max Schmidt d60357917e heya
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:34:26 +02:00
Max Schmidt e48b0d1afe heyo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:33:21 +02:00
Max Schmidt 0d20e7f738 hallo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:30:03 +02:00
Max Schmidt bf16b2b010 test
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:15:32 +02:00
Max Schmidt 745db317ce hallo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:11:47 +02:00
Max Schmidt 1645190643 asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 13:06:28 +02:00
Max Schmidt 3aacabbb2c asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 11:09:07 +02:00
Max Schmidt b1c2315eca asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 10:52:25 +02:00
Max Schmidt a3e58fecd6 asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 08:05:10 +02:00
Max Schmidt b958e29288 asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 07:37:21 +02:00
Max Schmidt d258042f5a asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-19 07:26:24 +02:00
Max Schmidt dc2da20ae9 asdfa
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-17 19:02:55 +02:00
Max Schmidt a6047e2ccf asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-17 18:56:59 +02:00