DECA DOCS WEB3 Static Project
Proposal Type: Sub-Project
- ID: -
- Project: Social Services
- SubProject: DECA DCIPs WEB3
- Task: -
- Bounty: 3200MXN in DAI/ETH/DECA
- Developers: @PaganoBarserker , @p1r0
- Editors: @Yugen , @p1r0
- Reviewers: -
- Voting Deadline: -
- Tasks Deadline: 2023-10-13
Abstract
The Goal of this project is to create a decentralized Zola Blog for the DECA DCIPs by following the DECA principle Research->Develop->Document (RDD) we will cover from the research to the development and the documentation of all the processes involved. This should be added also at the README.md and some articles in regards the different parts that integrates the project.
Motivation
Specification
TASKS:
1. Building the decentralized infrastructure
- Setting up the Work Environment:
- Setup the VPN access in your machine to link the NSI infraestructure.
- Setup a terminal client for secure shell or mosh.
- Setup a Gnupg key in your machine and provide a message to the sysadmin (@p1r0) by using his GNUPG public key (send as comment in this post).
- The sysadmin will setup the container and the server login information in an encrypted GnuPG message (send as comment in this post)
@p1r0 GNUPG:
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF1EkjoBCADTvjSpDxn6vbWZdnG1fON9JWPyRlWKYMYE8FK/kZhxYHqxpumL
Z99UYHVGzVsyHzmqMjmyOiIwtILPIt//i1pvu0ZjXatpyC/MoMpPWqrh7wHYQ/fy
bhMIpMz0FlNo+7wV+AHjxaTJNdFlDnRC1jAfqMpR2cC4Ec0w9hxbHxdOvGCNR701
BI888JHLIlAFfmqbXurr9QKs4GDofhX79slmCtKGgHRuaFoKWZaXTxOFL2w+UY61
CN9ml6NjlbpI6hgrttT68EVs4WjCu7dzLpWDCaEyhyDG1RG7oNybgu/g9pW+jqDr
jPuTb170OFxu+68x/2ITJNHHgccQgdy1JOsJABEBAAG0SkRhdmlkIEV1Z2VuaW8g
UGVyZXogTmVncm9uIFJvY2hhIChjb3Jwb3JhdGUgc2lnbmF0dXJlKSA8ZGF2aWRA
bmVldHNlYy5jb20+iQFOBBMBCgA4FiEEI8KHJO8ZqpZ2t2hL/jjpMNTCjXMFAl1E
kjoCGwMFCwkIBwIGFQoJC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sm6YVdub46NE4NFdTWH7W3yy2Rw7RJwGPnyJ5eAI/rWr6BZU0DIPQ
3u98DeZL4QXMw4pMC1yJv4p2fzzjjA==
=HS/y
-----END PGP PUBLIC KEY BLOCK-----
-
Setup the provided container in the NSI infrastructure through the VPN and the SSH access and and follow this guide until the adding a service section (by finishing this section), verify that the service is running with the latest IPFS kubo stable release.
-
Document the whole process of the previous step and provide the updated user credential access in a GnuPG Message (send as comment in this post).
2. Create the project and decentralize it
IMPORTANT:
USE THE DEVTEAM1 SERVER for develop and testing
-
Setup the Zola for DECA DCIPs:
- Fork the following Repository DECA DCIPs. into your user, clone it to the DEVTEAM1 server.
- Install zola into the server by following this tutorial. Optional Undertanding zola as an alternative of jekyll we used to use, setup a project and verify it works, this documentation might be useful for that process.
- Install and setup the following theme Paper Mod, in your user clonedDECA DCIPs repository branch develop
-
Install an IPFS Kubo instance in the DEVTEAM1 Server by following this tutorial.
-
Build and decentralize: DO NOT DO THIS YET
ToDo.(1.build zola to static, 2. ipfs pin add static site. 3. pin at web3Node1 and verify the gateway works with ssl/ipns )
3. Filling the project with the current documentation.
Rationale
References
- Gustavo B @PaganoBarserker
Hi!
I enclose my public key. @PaganoBarserker-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGTHzUIBDADGSYdqkfhOYqYyJrT/JTDJVSmkzDfEjR+vk1a9f65FuCZghrCm
LYWFj2amI2ZJrxEluuLRKw8nBZv+VlnUA8+CA4mL9OFe1HlLwUPgXYRcUC3lWN4G
R871/gdu54Z3mJeBAuQ/lrsR4sVxIPTVreJKFQf0eElOa3NF9yxINXObyS6a8FA9
pc/heQY7Cq49bZoCQrgDXoGTGZagf5i1VzMf9k2r302czXN26xHgM7/x6tlDhKSX
67/+xyfIacZ09lCrcFQSpq8ygjB6YJiVZP/AbGXragUUhUKS8WqzuxrBGSYtdRzF
Tki72NMle1ON0kO0V96arG/gfA+LhONhNHS4imjz+r99e9gWW1ih4FtzCBHQDtE0
cHLX69/7zOHLcfheOn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4ZD+CPdp7l8Tf
iXn6ysgs9B7JK0En3yOEPdukx+iqQgv9O9FpRuW7w23ND5xTfTQyKoP3uUHH2iWg
Q8VGsBLRE8MH2h8mzfhypEERX+d6pPebdb9NRmCuazBEIse0mxcx7IRXCTBzqXOT
9/Fe2pWpulx4e/Q2Xx+k8wtY26GeGTVE3XvjmsBULDbCNkcFQnA/7aaNlUwj1scz
6O7PZKnTA076b3ZQ3IWe0jmrgxVyX6to1VHYB1u/1sKSmD12tC9s+fVIiojkTro3
bH8joDlQGUshE58AEQEAAYkBvAQYAQoAJhYhBLV4gC6JnO0iqT91GITQggiD7bwm
BQJkx81CAhsMBQkDwmcAAAoJEITQggiD7bwmlxML/jq+ePRHRCSr/rQLqTIp/Xe6
d14KfMuWB2UmGB4v8LYm1WNfrAzL7CP7Q126mZgASYkZOATZS1dUj3e3b7/uXpFR
XfTw/l+nKoY76viyxXWKCIjj9IyIfe/CeeEm3JaBX6+S5zQK2VAa+xDEcCDhYCVd
Qxj5X+MEUSOvg5HdvlcC5uLgNf12qF7Xjtzo+3QbSIDZB/3wAy4ujAa1x9nz9I26
dsr69R7V/G+hJT7HJIB9vkxRLwfJkJoLamK90mRHgjrKxC90T4c5VArzqyF3Em/x
o+MbzCxKqW8wCIAHVxlt4mHk8pfKwCmuHIXrlCP6P+WLb2Myzrbe4O2A8n00nRQ/
kXn4bTjD4r2DrZmwKHTHtpehe2m/5kGycW0eHIm8D+oGVnO3Ub2mprsw5uvSiWoi
T8zfbVn/EKFywDCPPFEYv5g5A1qIEzxMxjYOV3HrO+Ixvzlk/dBEdRyKQowFj8OV
26Cix23iaPkcyaREsGiMkR1mXFbrmzYR3I62vf3A5w==
=jcKr
-----END PGP PUBLIC KEY BLOCK-----p1r0 @p1r0
PLEASE FOLLOW JUST THE SPECIFIED TASK/POINTS, NEXT STEP specified is:
Setup the provided container in the NSI infrastructure through the VPN and the SSH access and and follow this guide until the adding a service section (by finishing this section), verify that the service is running with the latest IPFS kubo stable release.
Read the post carefully in this section.
Here are the server access credentials:
-----BEGIN PGP MESSAGE-----
hQGMA2wUSFzYG4vWAQv9GliANk28Xanc8C+aD+zCcLSGMCU10SKd/EiaDGvge9y3
lC19RnQEkfesxnjCeZ86Mk+viiQMmOIpRnbO1bzhdDVWATLP6UgVu8ptX/Dmm6H8
K0JIeSQF/WEt4H1n4Yk8v8OGhUKi52S9UYd0zCSoGUu2pA30jFJG8YTpC5XSShaP
lL/QkPj5Gp6X+xq+JzHnkFeEIxPXe+5QLrFxPZCvcYOsxEIzqeZciUfk71dAZeLQ
2lo+1QhZI2wJQDsVqkoD5Y/EAOhdfL9/LexsSO9SdeQwWVlLQIciVKeLmUuq87Am
AbI2A1yhyL/xzjbhp3bw2wRySNxKgQTFRg3dUMl1+8qrhs5py3I+YA9EPchmSp+G
g+gOFh0D6gNKEKnfTGjQYxAYGM304qAMEh28in2qU/hDbiXkBWJyRJImpVqh2YSN
XSay7SGtLQibMhOsvyKpRLtT5h7+WqBDSWkplaJztThxEzkTW84xPVUhy5I1tV1X
0tLVlGyZnYqsjB10mIJZ0qQBnA8MMER11EdWtTTXllTiFtdpJqY8qXli8I49IZRs
R/X6hWfS6xdtxau0ZJNzlzyMRj/QBJCNxDxrJ7QkPET60A+6Iy/HD+P8exJtgydp
1AhPU7F706cmi+zzvSBnMvJWbDl6qIt0ZwWFliUXBnUhZytAfmT0cqj4jzO4yApC
Jg+urPr+uWGWsAuibE2c1AR+o6XhOmjFr48y1KpD6QRvzK+C6w==
=LS7a
-----END PGP MESSAGE-----Gustavo B @PaganoBarserker
I have a question about this part of the guide, there they talk to me about using a domain name like DigitalOcean, does the Foundation already have that or should I create it myself?
The rest without problems, regards.p1r0 @p1r0
that is required required at the section using the domain name which is out of the requirements, that task will be performed by the Sysadmin (me). You need to follow up until the end of adding a service section (as described in the post). For verifying that the IPFS service is running properly there is a test that I will perform and then I will configure the node to be public while you follow point 2 ( which I won´t write it until this tasks from section 1. are performed to avoid confusion).
- 回复p1r0⬆:
p1r0 @p1r0
maybe it is not updated, but this was a previous document I wrote for doing that procedure.
https://www.maxcoinproject.net/posts/maxcoin-ipfsnodes/
Let me know when you have the node running so that I can start testing and make it a public node.
Gustavo B @PaganoBarserker
Here are the ipfs node keys. I had to add more configurations that I attached in the readme file.
Greetings!-----BEGIN PGP MESSAGE-----
hQGMA2wUSFzYG4vWAQv9GliANk28Xanc8C+aD+zCcLSGMCU10SKd/EiaDGvge9y3
lC19RnQEkfesxnjCeZ86Mk+viiQMmOIpRnbO1bzhdDVWATLP6UgVu8ptX/Dmm6H8
K0JIeSQF/WEt4H1n4Yk8v8OGhUKi52S9UYd0zCSoGUu2pA30jFJG8YTpC5XSShaP
lL/QkPj5Gp6X+xq+JzHnkFeEIxPXe+5QLrFxPZCvcYOsxEIzqeZciUfk71dAZeLQ
2lo+1QhZI2wJQDsVqkoD5Y/EAOhdfL9/LexsSO9SdeQwWVlLQIciVKeLmUuq87Am
AbI2A1yhyL/xzjbhp3bw2wRySNxKgQTFRg3dUMl1+8qrhs5py3I+YA9EPchmSp+G
g+gOFh0D6gNKEKnfTGjQYxAYGM304qAMEh28in2qU/hDbiXkBWJyRJImpVqh2YSN
XSay7SGtLQibMhOsvyKpRLtT5h7+WqBDSWkplaJztThxEzkTW84xPVUhy5I1tV1X
0tLVlGyZnYqsjB10mIJZ0qQBnA8MMER11EdWtTTXllTiFtdpJqY8qXli8I49IZRs
R/X6hWfS6xdtxau0ZJNzlzyMRj/QBJCNxDxrJ7QkPET60A+6Iy/HD+P8exJtgydp
1AhPU7F706cmi+zzvSBnMvJWbDl6qIt0ZwWFliUXBnUhZytAfmT0cqj4jzO4yApC
Jg+urPr+uWGWsAuibE2c1AR+o6XhOmjFr48y1KpD6QRvzK+C6w==
=LS7a
-----END PGP MESSAGE-----p1r0 @p1r0
That cipher only works for your PGP private keys...
The server is not running or I cannot start it as the manual specifies at the end of the requested section.
I tried as root and as the IPFS user.
Did you verified that the service is up and running?
It has been 1 month and I am a bit worried we will not achieve the end goal, this part is crucial for any web3 website to operate.
last but not least, I think there is some work I do not understand about a rust-book, that was not specified to avoid confusion, until we reach this checkpoint.Please let me know if I am not running the service properly or there is an issue that I didn't notice.
Gustavo B @PaganoBarserker
I will check it.
- 回复p1r0⬆:
Gustavo B @PaganoBarserker
It already works without problems, I attach the key and the encrypted user.
I will also edit the repository that I attached where it is explained how it was configured since I had to look for some instructions and commands that have already changed or have been modified.Note that the ipfs that the guide says is a somewhat old version.
I also attached an image showing that it works.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF1EkjoBCADTvjSpDxn6vbWZdnG1fON9JWPyRlWKYMYE8FK/kZhxYHqxpumL
Z99UYHVGzVsyHzmqMjmyOiIwtILPIt//i1pvu0ZjXatpyC/MoMpPWqrh7wHYQ/fy
bhMIpMz0FlNo+7wV+AHjxaTJNdFlDnRC1jAfqMpR2cC4Ec0w9hxbHxdOvGCNR701
BI888JHLIlAFfmqbXurr9QKs4GDofhX79slmCtKGgHRuaFoKWZaXTxOFL2w+UY61
CN9ml6NjlbpI6hgrttT68EVs4WjCu7dzLpWDCaEyhyDG1RG7oNybgu/g9pW+jqDr
jPuTb170OFxu+68x/2ITJNHHgccQgdy1JOsJABEBAAG0SkRhdmlkIEV1Z2VuaW8g
UGVyZXogTmVncm9uIFJvY2hhIChjb3Jwb3JhdGUgc2lnbmF0dXJlKSA8ZGF2aWRA
bmVldHNlYy5jb20+iQFOBBMBCgA4FiEEI8KHJO8ZqpZ2t2hL/jjpMNTCjXMFAl1E
kjoCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ/jjpMNTCjXPwtggAjxtk
ntJf9stZZVkxLlFoYewUgqpLTwHHNGjyK7v/WfWFG54J2Upg+DoIjjs388u8vzyd
sIOLFg7VJy8Avhgthr86MCFIjuVoXChIIpsF9PWkg69Jd4CYA++ndxYrPRkia9aI
tQK8T6WZNetstGRAYTdElKURR9DCSp/OrAaig+P1LNBYXGP07YMZG3dINOIcJTTK
TSnHiHJfgOP+3N+WOrnJf+hs87xrDiFJL13IW/wSFXtnx2LVWJ8jV6YuT9WLP2CL
xofaTSFxW4nCg3unq6rbh83WneJx+FMnos/dBXSNw/eKNDZujNfKxe0ROWBuEztB
p+TULTPpC92O2Cyd+LkBDQRdRJI6AQgAuPzLLhhYHDesDbugHnizHx+ChqreRbSr
1+MnbOMez9HI7oI0kaRvCH7R4kZC1SFNR63UGdQJQbbm9ctmQ/mtGXFb1PrG6UsC
9RxOq9aGHJWhQcKcYZczKYp8SpC4LEVPYt983eT2U8ItPDoKRKwo7D6Cn95s0RvT
QXsNqo+XhnWSE9bqHXCKC84OoUr2LTQ2B19cfFCsR0p56ZNynRmRO+LxBchOydfN
xEixILcSkG5JarvzMOIsWvy13djY2K+LZc/jq8wIzZmt9SBof6KXPdBJU27myhuv
yObGx6iIBKM8ij8f6M2gemMN0AFByTP6QRUXafc0oBhOxWOSzO/RfQARAQABiQE2
BBgBCgAgFiEEI8KHJO8ZqpZ2t2hL/jjpMNTCjXMFAl1EkjoCGwwACgkQ/jjpMNTC
jXNqxAgA07NbaJeQKqKgZdSDXjHSaGqquVmA6F5T8SwdVS2RO9PrrrgB8mFAmYNB
M4/iq+RQRz5TzgGNgrnRLMMPYaoqod72AVPFKETlmFtwbr47qirL6PlShCk1elyC
c1BUF+JYq7ZcmvwAI8zwTnMlATdO35eW5NNusONlLGyPnMx6vfd4S0RZzxPKsBoG
EGtsQhwdTaXqThc6xo2EEPqquP7IzV07rEXUT2Nx8pXLymAFt8otXFMaGEJjuQex
eOVM7afbgZxsm6YVdub46NE4NFdTWH7W3yy2Rw7RJwGPnyJ5eAI/rWr6BZU0DIPQ
3u98DeZL4QXMw4pMC1yJv4p2fzzjjA==
=HS/y
-----END PGP PUBLIC KEY BLOCK-----p1r0 @p1r0
Ok, since there was a huge delay, we already developed the previous task related to the mdbook, the requirements got updated for developing the DECA DCIPS instead, I will be following the gateway setup while you can continue with the following section:
2. Create the project and decentralize it
NOTICE: Build and decentralize: DO NOT DO THIS YET means its not going to be specified until the first two points gets developed as checkpoints.
IMPORTANT: REMEMBER TO TAKE NOTES ON THE PROCESS AT YOUR MARKDOWN FILE.
BR.
Gustavo B @PaganoBarserker
I have not been able to update this post, since I have had to search ChatGPT or forums for things that no longer work in the guides and make me delay the configuration.
p1r0 @p1r0
Ok,
Let me know if there is an specific problem you have.
Gustavo B @PaganoBarserker
I have been having problems with installing certain things to run Zola and ipfs on team1, one of the things that is causing me problems right now is that apparently team1 does not have full privileges on sudo and does not let me configure some ipfs things.
I'll see if I can fix it, but if you could check that out, it would help me a lot.I was consulting chat-gpt and looking at solutions or alternatives on the internet, but it still keeps failing, I don't know if something is not configured correctly on the Debian machine or the permissions.
I'm still researching about it.Gustavo B @PaganoBarserker
For anything, create an updated repository, with the changes from the readme on github.
Note: On the nodemaster machine everything works for me.
Gustavo B @PaganoBarserker
- 回复p1r0⬆:Gustavo B @PaganoBarserker
In this repository, the Readme is being carried out, as well as any future changes that may be needed throughout the project.
- 回复p1r0⬆:Gustavo B @PaganoBarserker
Hello, I have some restrictions to use sudo with team1, could you help me have team1 within the sudo group so I can use all the privileges to manage it successfully? Thank you.
p1r0 @p1r0
Sudo Granted
- 回复p1r0⬆:Gustavo B @PaganoBarserker
I have a problem with installing the Zola mod, since when configuring what is requested, as well as installing the mod, it throws an error.
NOTE: We follow the steps that the repository itself gives us, but it still asks for tags.
I researched it, but the little I found gives me the same instructions:
https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/Img.1 Image of the tag error.
Also tried to advise me with ChaGPT, but it asks me to modify the config.toml by adding:
[taxonomies]
tags = "tags"But the only thing it causes is that it does not recognize what was previously added. And the error continues.