Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dev branch #163

Merged
merged 33 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
925b693
Add guide
iostpa Dec 8, 2024
23b4814
Add to config
iostpa Dec 8, 2024
54c7df0
Minor fix
iostpa Dec 8, 2024
acff41d
Last changes before I make PR
iostpa Dec 8, 2024
96a554f
Last change, I swear
iostpa Dec 8, 2024
a635138
Update minecraft-proxying.mdx
iostpa Dec 8, 2024
7c6978f
Add guide to proxying a minecraft server. (#158)
Kyro3400 Dec 8, 2024
1ac8c6d
This looks sooooooooooooo much better
iostpa Dec 8, 2024
101baaa
There was a typo here
iostpa Dec 8, 2024
1d43dfb
fix: Main header in the Python error guide (#159)
Kyro3400 Dec 8, 2024
10506c9
Update influxdb.mdx
KennySB-dev Dec 14, 2024
6b94219
Update influxdb.mdx
KennySB-dev Dec 14, 2024
03a185e
Update mariadb.mdx
KennySB-dev Dec 14, 2024
8c603f1
Update mongodb.mdx
KennySB-dev Dec 14, 2024
f0c5094
Update postgres.mdx
KennySB-dev Dec 14, 2024
24f6364
Update redis.mdx
KennySB-dev Dec 14, 2024
ea5280b
Update mariadb.mdx
KennySB-dev Dec 14, 2024
eed895b
Update influxdb.mdx
KennySB-dev Dec 14, 2024
23ebf32
Update mongodb.mdx
KennySB-dev Dec 14, 2024
6b3465e
Update postgres.mdx
KennySB-dev Dec 14, 2024
66f25c9
Update redis.mdx
KennySB-dev Dec 14, 2024
32c7a93
Update mariadb.mdx
KennySB-dev Dec 15, 2024
ebb379b
Update influxdb.mdx
KennySB-dev Dec 15, 2024
27e5d5c
Update mongodb.mdx
KennySB-dev Dec 15, 2024
8387eb7
Update postgres.mdx
KennySB-dev Dec 15, 2024
55d3b69
Update redis.mdx
KennySB-dev Dec 15, 2024
ff0d38b
Add React Embeds to Database creation guides (#160)
Kyro3400 Dec 15, 2024
bbf9bd3
Update influxdb.mdx
Kyro3400 Dec 15, 2024
48df2df
Update mariadb.mdx
Kyro3400 Dec 15, 2024
e1c995b
Update mongodb.mdx
Kyro3400 Dec 15, 2024
bdeb308
Update postgres.mdx
Kyro3400 Dec 15, 2024
ac7f5bf
Update redis.mdx
Kyro3400 Dec 15, 2024
8cd0ca9
Fix import issue (#162)
Kyro3400 Dec 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const navLinks: Link[] = [
{ label: "SFTP Using VSCode", link: "/advanced/vscode-sftp" },
{ label: "ShareX Setup", link: "/advanced/sharex-setup" },
{ label: "NVM Setup", link: "/advanced/nvm" },
{ label: "Proxying a Minecraft Server", link: "/advanced/minecraft-proxying"},
{ label: "Python: Out of Space Error", link: "/advanced/python-install" },
],
},
Expand Down
23 changes: 23 additions & 0 deletions pages/advanced/minecraft-proxying.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# How to proxy a minecraft server

If you are looking of how to access your minecraft server without your server port, and using your own domain, you are at the right place

1. You need to have a minecraft server
2. If you already use cloudflare you are good 👍 If you use your own domain dash, make sure that it allows you to create srv records
3. Create an srv record and fill the boxes with the information required:
```
Type: SRV
Name: [your subdomain name]
Service: _minecraft
Protocol: TCP (remember tcp is only for java edition, bedrock uses udp)
TTL: auto
Priority: 0
Weight: 0
Port: [Your server port]
Target: [Domain name of the server] (It will be either dono-02.danbot.host or dono-04.danbot.host)
```
Here is an example:

![Example](/content/minecraft-proxy/example.png)

<Tip> Thanks to whoever made the [guide](https://discord.com/channels/639477525927690240/898041892279836692/990411009732800614) in `#hosting`! </Tip>
2 changes: 1 addition & 1 deletion pages/advanced/python-install.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fixing `EnvironmentError - No space left on device` Error
# Fixing <u>Environment: Error - No space left on device</u> Error

Please note that this **will not give you more disk space**, this will **increase your TEMP storage size**, which is what causes this error message. This temporary storage is stored within your container.

Expand Down
116 changes: 114 additions & 2 deletions pages/server/database/influxdb.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import {
DiscordMessages,
DiscordMessage,
DiscordEmbed,
DiscordEmbedField,
DiscordEmbedFields,
} from "@skyra/discord-components-react";

# InfluxDB

[InfluxDB](https://www.influxdata.com/) is an open-source time series database (TSDB) developed by the company InfluxData. It is used for storage and retrieval of time series data in fields such as operations monitoring, application metrics, Internet of Things sensor data, and real-time analytics. It also has support for processing data from Graphite.
Expand All @@ -13,9 +21,113 @@ To create a server, we suppose that you've already [created and linked an accoun

In that case, go to DBH server and run this command:

For a free server: `DBH!server create influxdb [optional server name]`
For a free server:


<DiscordMessages>
<DiscordMessage
author="Jonfirexbox"
avatar="https://avatars.githubusercontent.com/u/66625200?v=4"
roleColor="#00cfff"
roleName="Client"
>
DBH!server create influxdb [optional server name]
</DiscordMessage>
<DiscordMessage
author="DanBot Hosting"
avatar="https://images-ext-1.discordapp.net/external/9j2_RacvCl8mly7hALccyH0PsM-tbJYm8twQKGf_3jY/https/cdn.discordapp.com/avatars/640161047671603205/718aa5783508125a02e3b244a1bf096e.png"
roleColor="#0329d3"
bot={true}
verified={false}
>
<DiscordEmbed slot="embeds" color="#00FF00" embed-title="Server Successfully Created">
<DiscordEmbedDescription slot="description">
Click Here to Access Your Server
</DiscordEmbedDescription>
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="Status:" inline inline-index="1">
{' '}
Created{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="User ID:" inline inline-index="2">
{' '}
126{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type:" inline inline-index="3">
{' '}
influxdb{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Server Name:" inline inline-index="4">
{' '}
Untitled Server (settings -> server name){' '}
</DiscordEmbedField>
</DiscordEmbedFields>
<DiscordEmbedFooter
slot="footer"
footer-image="https://avatars.githubusercontent.com/u/66625200?v=4"
timestamp={new Date()}
>
Command Executed By: jonfirexbox (856176853719187506)
</DiscordEmbedFooter>
</DiscordEmbed>
</DiscordMessage>
</DiscordMessages>
<br></br>
For a donator server:
<DiscordMessages>
<DiscordMessage
author="Jonfirexbox"
avatar="https://avatars.githubusercontent.com/u/66625200?v=4"
roleName="Donator"
roleColor="#ff00a0"
roleIcon="https://images-ext-1.discordapp.net/external/jcxosamsnMQwF-XU7dDsYt5Mz_ti0BRJc5pzpGSDPQ0/https/cdn.discordapp.com/role-icons/898041754564046869/576cbb697c65c8fffe1df17961401d8b.png?format=webp&quality=lossless"
>
DBH!server create-donator influxdb [optional server name]
</DiscordMessage>
<DiscordMessage
author="DanBot Hosting"
avatar="https://images-ext-1.discordapp.net/external/9j2_RacvCl8mly7hALccyH0PsM-tbJYm8twQKGf_3jY/https/cdn.discordapp.com/avatars/640161047671603205/718aa5783508125a02e3b244a1bf096e.png"
roleColor="#0329d3"
bot={true}
verified={false}
>
<DiscordEmbed slot="embeds" color="#00FF00" embed-title="Server Successfully Created">
<DiscordEmbedDescription slot="description">
Click Here to Access Your Server
</DiscordEmbedDescription>
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="Status:" inline inline-index="1">
{' '}
Created{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="User ID:" inline inline-index="2">
{' '}
126{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type:" inline inline-index="3">
{' '}
influxdb{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Server Name:" inline inline-index="4">
{' '}
Untitled Server (settings -> server name){' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Slots Used:">
{' '}
(1 slot / 6 slots){' '}
</DiscordEmbedField>
</DiscordEmbedFields>
<DiscordEmbedFooter
slot="footer"
footer-image="https://avatars.githubusercontent.com/u/66625200?v=4"
timestamp={new Date()}
>
Command Executed By: jonfirexbox (856176853719187506)
</DiscordEmbedFooter>
</DiscordEmbed>
</DiscordMessage>
</DiscordMessages>

For a donator server: `DBH!server create-donator influxdb [optional name]`

# Get database going

Expand Down
116 changes: 114 additions & 2 deletions pages/server/database/mariadb.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import {
DiscordMessages,
DiscordMessage,
DiscordEmbed,
DiscordEmbedField,
DiscordEmbedFields,
} from "@skyra/discord-components-react";

# What is MariaDB?

[MariaDB](https://mariadb.org/) is a community-developed, commercially supported fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle Corporation in 2009.
Expand All @@ -13,9 +21,113 @@ To create a server, we suppose that you've already [created and linked an accoun

In that case, go to DBH server and run this command:

For a free server: `DBH!server create mariadb [optional server name]`
For a free server:


<DiscordMessages>
<DiscordMessage
author="Jonfirexbox"
avatar="https://avatars.githubusercontent.com/u/66625200?v=4"
roleColor="#00cfff"
roleName="Client"
>
DBH!server create mariadb [optional server name]
</DiscordMessage>
<DiscordMessage
author="DanBot Hosting"
avatar="https://images-ext-1.discordapp.net/external/9j2_RacvCl8mly7hALccyH0PsM-tbJYm8twQKGf_3jY/https/cdn.discordapp.com/avatars/640161047671603205/718aa5783508125a02e3b244a1bf096e.png"
roleColor="#0329d3"
bot={true}
verified={false}
>
<DiscordEmbed slot="embeds" color="#00FF00" embed-title="Server Successfully Created">
<DiscordEmbedDescription slot="description">
Click Here to Access Your Server
</DiscordEmbedDescription>
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="Status:" inline inline-index="1">
{' '}
Created{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="User ID:" inline inline-index="2">
{' '}
126{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type:" inline inline-index="3">
{' '}
mariadb{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Server Name:" inline inline-index="4">
{' '}
Untitled Server (settings -> server name){' '}
</DiscordEmbedField>
</DiscordEmbedFields>
<DiscordEmbedFooter
slot="footer"
footer-image="https://avatars.githubusercontent.com/u/66625200?v=4"
timestamp={new Date()}
>
Command Executed By: jonfirexbox (856176853719187506)
</DiscordEmbedFooter>
</DiscordEmbed>
</DiscordMessage>
</DiscordMessages>
<br></br>
For a donator server:
<DiscordMessages>
<DiscordMessage
author="Jonfirexbox"
avatar="https://avatars.githubusercontent.com/u/66625200?v=4"
roleName="Donator"
roleColor="#ff00a0"
roleIcon="https://images-ext-1.discordapp.net/external/jcxosamsnMQwF-XU7dDsYt5Mz_ti0BRJc5pzpGSDPQ0/https/cdn.discordapp.com/role-icons/898041754564046869/576cbb697c65c8fffe1df17961401d8b.png?format=webp&quality=lossless"
>
DBH!server create-donator mariadb [optional server name]
</DiscordMessage>
<DiscordMessage
author="DanBot Hosting"
avatar="https://images-ext-1.discordapp.net/external/9j2_RacvCl8mly7hALccyH0PsM-tbJYm8twQKGf_3jY/https/cdn.discordapp.com/avatars/640161047671603205/718aa5783508125a02e3b244a1bf096e.png"
roleColor="#0329d3"
bot={true}
verified={false}
>
<DiscordEmbed slot="embeds" color="#00FF00" embed-title="Server Successfully Created">
<DiscordEmbedDescription slot="description">
Click Here to Access Your Server
</DiscordEmbedDescription>
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="Status:" inline inline-index="1">
{' '}
Created{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="User ID:" inline inline-index="2">
{' '}
126{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type:" inline inline-index="3">
{' '}
mariadb{' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Server Name:" inline inline-index="4">
{' '}
Untitled Server (settings -> server name){' '}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="Slots Used:">
{' '}
(1 slot / 6 slots){' '}
</DiscordEmbedField>
</DiscordEmbedFields>
<DiscordEmbedFooter
slot="footer"
footer-image="https://avatars.githubusercontent.com/u/66625200?v=4"
timestamp={new Date()}
>
Command Executed By: jonfirexbox (856176853719187506)
</DiscordEmbedFooter>
</DiscordEmbed>
</DiscordMessage>
</DiscordMessages>

For a donator server: `DBH!server create-donator mariadb [optional name]`

# Connect to the database

Expand Down
Loading