Service/New ASLO: Difference between revisions

Created page with "**This page is a work in progress as the service is being deployed (again)** == Hostnames & Emails == [https://activities-2.sugarlabs.org] [https://aslo-bot-master.sugarlab..."
 
New aslo is not running any more
Tag: visualeditor
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
**This page is a work in progress as the service is being deployed (again)**
'''The New ASLO is not a running anymore.  This page is only historical information.'''


== Hostnames & Emails ==
== Hostnames & Emails ==


[https://activities-2.sugarlabs.org]
[https://activities-2.sugarlabs.org activities-2.sugarlabs.org] (and [https://aslo.cf aslo.cf] is a redirect, along with activities2.sl.o)


[https://aslo-bot-master.sugarlabs.org]
[https://hook.sugarlabs.org hook.sugarlabs.org]  (old subdomain, now alias: [https://aslo-bot-master.sugarlabs.org aslo-bot-master.sugarlabs.org])


== Hosted On ==
== Hosted On ==
Line 11: Line 11:
[[Machine/justice|Freedom]] using docker & nginx
[[Machine/justice|Freedom]] using docker & nginx


[[Machine/sunjammer|Sunjammer]] hosts the bundles.
[[Machine/sunjammer|Sunjammer]] hosts the bundles. It also has a webhook/cgi-script to pull the bundles from rsync://freedom.sugarlabs.org/activities2


=== Ports ===
=== Ports ===


Bot Master:  5001
Bot Master:  5001 (on freedom)


== Setup ==
== Setup ==


The web front end is configured in the nginx sites-avaliable folder.
Most services depend on the kafka queue.  It is configured via docker-compose in <code>/home/sam/kafka-docker</code>.


Start the bot master:
Powered by docker containers.  Setup requires is running the container.yml files found in the subdirectories of the [https://github.com/samdroid-apps/aslo ASLO repo].  Eg:


docker run -v /srv/activities2:/aslo/bot-master/out -v /home/sam/bot-master-ssh/:/root/.ssh -e ASLO_DOWNLOADS_ROOT=http://download.sugarlabs.org/activities2 -p 5001:5001 -d samdroid/aslo-bot-master:latest
container.yml start /home/sam/bot -d
You also want to have the [[Service/Social Help|social help service]] running as well for the comments system.