Skip to content

Commit 0f793bf

Browse files
committed
Add a quick start guide and do some nitpicks
1 parent 10d8542 commit 0f793bf

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

src/guides/dbh.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ tags: guides
55
icon: /media/dbh.png
66
---
77

8+
!!!danger
9+
This hosting service has changed a lot in recent times, so this guide may not be up to date with the current system the hosting provider has.
10+
!!!
11+
812
# Setting up DanBot Hosting with an is-a.dev subdomain
913

1014
This guide will walk you through the process of setting up a DanBot Hosting website and pointing your is-a.dev subdomain to it.

src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ icon: home
99
Here you'll find detailed guides, the JSON file structure, and more. If you'd like to contribute to our documentation, visit [our documentation repository](https://github.com/is-a-dev/docs) on GitHub.
1010

1111
## How to Register
12-
You can read about the domains' JSON file structure [here](useful/domain-structure).
12+
For our Quick Start guide you can click [here](useful/quickstart) to read it. You can also read about the domains' JSON file structure [here](useful/domain-structure).
1313

1414
## Guides
1515
- [GitHub Pages](guides/github-pages)
@@ -18,7 +18,7 @@ You can read about the domains' JSON file structure [here](useful/domain-structu
1818
- [Codeberg Pages](guides/codeberg-pages)
1919
- [Netlify](guides/netlify)
2020
- [ImprovMX](guides/improvmx)
21-
- [Zoho Mail](guides/zoho-mail.md)
21+
- [Zoho Mail](guides/zoho-mail)
2222
- [DanBot Hosting](guides/dbh)
2323
- [Hashnode Blogs](guides/hashnode)
2424
- [Railway](guides/railway)

src/useful/quickstart.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
icon: rocket
3+
label: Quick Start
4+
route: /quickstart
5+
tags: useful
6+
---
7+
8+
# Requirements before starting
9+
10+
Before you start the process of making a is-a.dev domain, make sure you have the following:
11+
1. You have a website that is at least complete and not a incomplete website with either barely anything on it or has incomplete sections.
12+
2. Make sure the website is a personal website (like a portfolio or a blog that's software developer related) or a non-commercial project that's software developer related.
13+
3. Make sure the website isn't for commercial purposes, if we see that the website is for commercial purposes we have the right to close the pull request. You can read more of our Terms of Conditions [here](https://is-a.dev/terms).
14+
15+
After you've made sure that you meet these requirements, we can continue with the process of making a is-a.dev domain.
16+
17+
# Making the is-a.dev domain
18+
19+
Now, to make the file in the first place before making a pull request, you have to fork [our repository](https://github.com/is-a-dev/register). You can click the link [here](https://github.com/is-a-dev/register/fork) to fork our repository.
20+
21+
After you've forked our repository, you can start making the file for your domain. To make the file, enter your fork of our repository (which you should already be there), enter the `domains` directory, also known as a folder, and create the file from there.
22+
23+
You may be wondering, "How should I name the file?". The filename should be the domain name you want in lowercase and then the JSON extension (.json) at the end of the filename, so basically it would be something like this: `subdomain.json`. (Replace `subdomain` with the name you want to register of course)
24+
25+
After you've finished with the filename, you can start making the file format of the JSON file. Now depending on your hosting provider, we have guides for most hosting providers (like GitHub Pages, Cloudflare Pages and Vercel, just to name a few) accessible in our documentation, but for hosting providers that don't have a guide, you should pay attention to what records they provide. An example of a valid file format is the one listed below, though you can also check out the [Domain Structure](useful/domain-structure) section to see what records we support.
26+
27+
```json
28+
{
29+
"owner": {
30+
"username": "your-github-username"
31+
},
32+
"records": {
33+
"CNAME": "example.org"
34+
}
35+
}
36+
```
37+
38+
!!!
39+
You should replace the placeholder username with your own GitHub username and the placeholder records with the valid records your hosting provider gave while trying to connect the domain.
40+
!!!
41+
42+
When you've made sure that you have the valid file format and the correct filename, you can now start making a pull request. If you aren't sure if the JSON format is valid, you can check with [jsonlint](https://jsonlint.com/).
43+
44+
## Making the pull request
45+
46+
Assuming you know how GitHub works, it should be easy for you to make a pull request to our repository. For those who don't know how to make one, you can check [this guide from GitHub's documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) on how to do it.
47+
48+
Before you create the pull request, make sure that you've read the pull request template and have completed it with the right information so that it saves both your time and our (maintainers) time. When you've completed it, you can create the pull request and wait for the maintainers to review the pull request. Make sure to also check the pull request from time to time to see if there's any chances that need to be made.
49+
50+
# What do I do now?
51+
52+
When your pull request has been merged by a maintainer, you have to make sure that you've connected the domain with your website, or else it won't work. Go to your website's settings and add the domain from there to make sure you've added it. After you've connected the domain, you are good to go! Now you can enjoy your is-a.dev domain. If you have any questions then you can either make a GitHub issue on our main repository or [join our Discord server](https://discord.gg/is-a-dev-830872854677422150) and ask there. You can also read our [FAQ](useful/faq) since we should have most common questions there.

0 commit comments

Comments
 (0)