aboutsummaryrefslogtreecommitdiff
path: root/posts/create-your-own-shinobi-website.txt
blob: 14f940fcb9383faa7e745c997ef22a08b8970b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Thu, 21 Apr 2022
SIMPLE GUIDE FOR CREATING YOUR OWN SHINOBI.WEBSITE

Learn how to setup your own Shinobi site without the need for any 
technical background.

I'm going to keep this article as streamlined as possible. This post 
assumes you understand _what_ a shinobi website is and will therefore 
skip reiterating that. Instead we will break things down into basic 
step-by-step instructions.


STEP 1
------

Create a new folder (where you think it is best on your system). This 
will contain all the files for our shinobi website. Name it what ever 
you like.


STEP 2
------

Download the following project:

https://git.sr.ht/~tdarb/shinobi-script


STEP 3
------

Edit the following content in the newly created "script.sh" to align 
with your own settings. (ie: YOUR-DOMAIN would be 
"yourcustomdomain.com") Feel free to use any text editor that works 
best for you.

1. YOUR-DOMAIN
2. YOUR-EMAIL (YOUR-NAME)
3. YOUR-BLOG-TITLE
4. YOUR-BLOG-DESCRIPTION
5. YOUR-COPYRIGHT-INFO

*Important*: You might not have a domain setup currently or plan to use 
the one generated by Netlify Drop below. That's okay! You can always 
come back to this step after the domain is live, change it and re-run 
everything again to update!


STEP 4
------

Next, look for the folder named "posts". This will contain all your 
blog posts going forward. (It also contains a couple dummy posts for 
reference)


STEP 5
------

Write your first blog post! Create a new text file inside the "posts" 
sub-folder (ie: my-awesome-post.txt). Be sure to structure the first 4 
lines the same as below: (Pay attention to the blank space between the 
title and post description!)

> Thu, 21 Apr 2022
> YOUR BLOG POST TITLE
> 
> This is my short and sweet blog post description


STEP 6
------

If you are happy with your article then that means it's time to 
generate your site! Open a terminal app in your system (Windows, Mac, 
Linux - doesn't matter) and navigate to your new website folder by 
typing the following:

cd path/to/your/blog/folder


STEP 7
------

Now run the bash script to generate the "feed.xml" file automatically:

bash script.sh > feed.xml


STEP 8
------

Now to host your new website! For this tutorial we are going to use 
Netlify Drop for simplicity and ease-of-use. Go to 
https://app.netlify.com/drop and then drag-and-drop your website folder 
directly into the website.

You'll get a ".netlify.app" based URL, unless you decide to implement a 
custom domain (which is easy to do following Netlify's instructions).

Now you can share your "subdomain.netlify.app/feed.xml" with the world 
and your readers can subscribe via RSS!


WHAT ABOUT NEW POSTS OR UPDATES?
--------------------------------

By getting a free Netlify account you can continue to re-upload the 
website folder when you make changes or add new articles. Easy, right?

Good luck on your own shinobi websites!


P.S. Feel free to reach out to me if you have any questions via 
shinobi.web@protonmail.com. I'll try to respond as quick as I can. 
Please be patient!