mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-16 19:59:25 +08:00
vault backup: 2024-10-14 19:51:18
This commit is contained in:
parent
c558d21d95
commit
b7cbf80329
14 changed files with 30 additions and 26 deletions
|
@ -1,7 +1,7 @@
|
|||
# .woodpecker.yml
|
||||
steps:
|
||||
- name: build & copy
|
||||
image: node:18-alpine
|
||||
image: docker
|
||||
when:
|
||||
- branch: master
|
||||
event: push
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
A Git-mirrored copy of my [Obsidian](https://obsidian.md/) blog posts, guides, and public notes, served publicly using [Docusaurus](https://github.com/facebook/docusaurus)
|
||||
![Build Status](https://woodpecker.06222001.xyz/api/badges/5/status.svg)
|
||||
|
||||
A Git-mirrored copy of my [Obsidian](https://obsidian.md/) blog posts, guides, and public notes, served publicly using [Docusaurus](https://github.com/facebook/docusaurus) at [resources.06222001.xyz](https://resources.06222001.xyz)
|
|
@ -1,15 +1,3 @@
|
|||
### Overview
|
||||
Django is a framework built with Python to help you implement web applications.
|
||||
|
||||
![353e9c415078b3d4a18d7bd93294df1c_MD5](_resources/1%20-%20Setup/353e9c415078b3d4a18d7bd93294df1c_MD5.jpg)
|
||||
|
||||
![8d193fcb83f676cd16e263f78f965bc5_MD5](_resources/1%20-%20Setup/8d193fcb83f676cd16e263f78f965bc5_MD5.jpg)
|
||||
|
||||
Django can be used as-is to develop full stack web apps which include your frontend and backend. This however isn't the focus of this guide.
|
||||
|
||||
You will be using Django alongside Django REST Framework to instead build a backend API, which will only serve data from your database, and not serve as a frontend framework. This guide will focus on data, so no fancy frontend design stuff!
|
||||
|
||||
This guide has concepts that are similar to the official guide for Django linked [here](https://docs.djangoproject.com/en/5.1/intro/tutorial01/). Check it out as well!
|
||||
|
||||
### Getting Started
|
||||
|
||||
|
|
12
docs/Guides/Django REST Framework/Django REST Framework.md
Normal file
12
docs/Guides/Django REST Framework/Django REST Framework.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
### Overview
|
||||
Django is a framework built with Python to help you implement web applications.
|
||||
|
||||
![353e9c415078b3d4a18d7bd93294df1c_MD5](_resources/Django%20REST%20Framework/353e9c415078b3d4a18d7bd93294df1c_MD5.jpg)
|
||||
|
||||
![8d193fcb83f676cd16e263f78f965bc5_MD5](_resources/Django%20REST%20Framework/8d193fcb83f676cd16e263f78f965bc5_MD5.jpg)
|
||||
|
||||
Django can be used as-is to develop full stack web apps which include your frontend and backend. This however isn't the focus of this guide.
|
||||
|
||||
You will be using Django alongside Django REST Framework to instead build a backend API, which will only serve data from your database, and not serve as a frontend framework. This guide will focus on data, so no fancy frontend design stuff!
|
||||
|
||||
This guide has concepts that are similar to the official guide for Django linked [here](https://docs.djangoproject.com/en/5.1/intro/tutorial01/). Check it out as well!
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
5
docs/Guides/Guides.md
Normal file
5
docs/Guides/Guides.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
### Guide List
|
||||
- [Django REST Framework Guide](Django%20REST%20Framework/1%20-%20Setup.md)
|
||||
- [Service Queue -Hosted Services](Service%20Queue/Hosted%20Services.md)
|
||||
- [Service Queue Relayed Services](Service%20Queue/Relayed%20Services.md)
|
||||
- [SMTP Credentials](Service%20Queue/SMTP%20Credentials.md)
|
|
@ -7,7 +7,6 @@ We however provide a network diagram on how it works under the hood for referenc
|
|||
|
||||
### Project Requirements
|
||||
We require the following for all projects
|
||||
|
||||
- Compatible with ARM64 architecture as our server are a fleet of Orange Pi 5s
|
||||
- Packaged via Docker with an included `docker-compose.yml`. Traditionally, there are two ways to do this;
|
||||
- Provide the source code as-is including your provided .env file. The servers will then build the image/container before being served to the public.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
### Overview
|
||||
|
||||
You can also opt to use your own servers/devices for hosting with the Service Queue project. Traffic can be relayed through a provided Wireguard VPN to direct subdomain or port traffic to your server
|
||||
|
||||
![Service Queue Relayed.drawio.png](_resources/Relayed%20Services/9424cf6e95838d18b4c2a4a5de25bae8_MD5.jpg)
|
||||
|
@ -8,9 +7,7 @@ The diagram above serves as reference for the infrastructure setup with relayed
|
|||
Game servers can be served via the relay by forwarding the required TCP/UDP ports
|
||||
|
||||
### Project Requirements
|
||||
|
||||
The following requirements are needed for relayed projects
|
||||
|
||||
- A PC, laptop, or similar device
|
||||
- The device must be compatible with Wireguard VPN
|
||||
- The device must run 24/7 (or at least run continuously when required for your services to be usable)
|
||||
|
|
2
docs/Guides/Service Queue/Service Queue.md
Normal file
2
docs/Guides/Service Queue/Service Queue.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
### Overview
|
||||
I run the
|
|
@ -1,9 +1,4 @@
|
|||
### Document List
|
||||
- [Django REST Framework Guide](Guides/Django%20REST%20Framework/1%20-%20Setup.md)
|
||||
- [Service Queue - Hosted Services](Guides/Service%20Queue/Hosted%20Services.md)
|
||||
- [Service Queue - Relayed Services](Guides/Service%20Queue/Relayed%20Services.md)
|
||||
- [SMTP Credentials](Guides/Service%20Queue/SMTP%20Credentials.md)
|
||||
- [Windows Apps](Files%20&%20Links/Windows%20Apps.md)
|
||||
- [Bash Commands Snippets](Command%20Snippets/Bash%20Commands.md)
|
||||
- [Docker - Miscellaneous Snippets](Command%20Snippets/Docker%20-%20Miscellaneous.md)
|
||||
- [Docker Run Snippets](Command%20Snippets/Docker%20Run.md)
|
||||
- [Guides](Guides/Guides.md)
|
||||
- [Files & Links](Files%20&%20Links/Files%20&%20Links.md)
|
||||
- [Command Snippets](Command%20Snippets/Command%20Snippets.md)
|
|
@ -85,6 +85,10 @@ const config: Config = {
|
|||
label: "Command Snippets",
|
||||
to: "/docs/Command Snippets",
|
||||
},
|
||||
{
|
||||
label: "Guides",
|
||||
to: "/docs/Guides",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue