Difference between revisions of "Service/New ASLO"

From Sugar Labs
Jump to navigation Jump to search
(Add message about social help)
(container.yml and hook.slo)
Line 4: Line 4:
 
[https://activities-2.sugarlabs.org activities-2.sugarlabs.org] (and [https://aslo.cf aslo.cf] is a redirect, along with activities2.sl.o)
 
[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 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 18: Line 18:
 
== 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 --name=MASTER-Possum 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.
 
You also want to have the [[Service/Social Help|social help service]] running as well for the comments system.

Revision as of 07:49, 18 July 2015

Hostnames & Emails

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

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

Hosted On

Freedom using docker & nginx

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

Ports

Bot Master: 5001 (on freedom)

Setup

Most services depend on the kafka queue. It is configured via docker-compose in /home/sam/kafka-docker.

Powered by docker containers. Setup requires is running the container.yml files found in the subdirectories of the ASLO repo. Eg:

container.yml start /home/sam/bot -d

You also want to have the social help service running as well for the comments system.