threefoldtecharchive / digitalmeX

Apache License 2.0
0 stars 1 forks source link

Simple web publishing on 3bot #194

Closed rkhamis closed 5 years ago

rkhamis commented 5 years ago

Goal

The idea here is to have any 3bot user able to publish content on their own 3bot This means that the 3bot will be acting as a DNS server in itself, able to register domains. If someone adds this 3bot in their reslov.conf, they'll be able to access these domains.

To achieve this, we'll run a DNS server in a gevent loop

Requirements

Child of threefoldtech/home#162

rkhamis commented 5 years ago

Estimation of work: 5 working days + 3 days for QA

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Started exploring the jsx dns server, found out that it resolves the domains using default name server Also trying with nginx virtual hosts with lapis

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

Had a look at 3bot structure and dns server code. Started writing script with schema to save/retrieve to/from bcdb

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Finished enabling using of virtual hosts in lapis. Added new branch in lapis-wiki repo to work on these changes called "open_publish"

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

Basic initial schema and script to use save/retrieve to/from db using redis client. Still needs adjustments.

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Started creating publishing tool, near to finish the wiki publishing part, will complete it to day

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

rkhamis commented 5 years ago

➤ serboctor commented:

I helped Rana refactor the bcdb/redis part and make it work. I am currently looking into the dns structure to see if we can return the same structure from our dns resolver or not.

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

rkhamis commented 5 years ago

➤ serboctor commented:

I worked with Rana on investigating the issues mentioned above.

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Managed to test wiki deployment manually on ovh nodes yesterday with Peter and it worked well with two branches, master-development with auto deployment of two subdomains www and www2. Also tested the auto pull and all worked fine. Now trying to create flist to auto start the framework

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

Working on using the web_publishing actor in the chatflow to register/unregister wikis/websites

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Refactoring the open publish to be under tools and use it to publish actors and chat flows

KDS asked for some changes in the dns, also writing docs

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

Working on fixing DNSRecord and its schema to have zones with domains for each zone entry

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Finished moving open publish into js tools , tested and writing docs

rkhamis commented 5 years ago

➤ Rana Tarek Hassan commented:

Updated DNSResolver to have zones(consist of 2 parts only) https://github.com/threefoldtech/digitalmeX/commit/8c8d1a38c7026d881b6f538b487406f439b245b0

rkhamis commented 5 years ago

➤ Abdulrahman Hamdy commented:

Hardened the adding sites/wikis. Fixed auto reload settings. Tried multiple ways for loading actors (TBD) Completing docs for open_publish