Opened 7 years ago

Closed 7 years ago

#7436 closed task (fixed)

Create ooni.torproject.org subdomain and webserver

Reported by: hellais Owned by:
Priority: Medium Milestone:
Component: Internal Services/Tor Sysadmin Team Version:
Severity: Keywords:
Cc: aagbsn Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Currently ooni.nu is hosted on some machine on linode. I would like to migrate the website to be hosted on some torproject server.

This would involve creating the ooni.torproject.org subdomain and have it running on a machine that has a web server (vescum?).

It should not generate too much traffic for the moment, but I would like to stop having to maintain a web server for ooni.nu.

Child Tickets

Change History (7)

comment:1 Changed 7 years ago by hellais

Cc: phobos added

comment:2 Changed 7 years ago by hellais

Cc: aagbsn added

To stay comfortable I would set the disk space to 5GB.

The site is only static content.

It will be running some cronjobs that will download from the ooni-probe git repository the documentation and run some scripts to build the documentation.

This cronjob should run once every week.

The content of the cronjob is basically:

git pull && make html

Where the content of the Makefile is:

https://gitweb.torproject.org/ooni-probe.git/blob/HEAD:/docs/Makefile

comment:3 Changed 7 years ago by phobos

Cc: weasel phobos removed

We don't compile anything on the webservers. Can you push static html?

comment:4 in reply to:  3 Changed 7 years ago by hellais

Replying to phobos:

We don't compile anything on the webservers. Can you push static html?

That makefile does not compile code, it just runs a set of python scripts that automate the creation of the static HTML content.

This is the debian package for it:

http://packages.debian.org/source/squeeze/sphinx

If running cronjob driven python code is a problem I can run the "build" scripts on my local machine and just push static HTML, though I would ideally want this to run on tpo infrastructure so that I don't have to think about it.

If there is doubt about this let's just do it in two steps:

1) Get hosting for static content (I will run the "build" scripts on my local machine)

2) Setup some other tpo machine that automates the "build" of the static content and pushes it to the repo.

comment:5 Changed 7 years ago by hellais

Worth noting that running such makefile is also a requirement for the stem docs: https://trac.torproject.org/projects/tor/ticket/7324.

comment:6 Changed 7 years ago by phobos

weasel is rewriting how the mirroring system works so we can handle more static domains like this, and the build requirements. We'll probably be ready in the next few days.

comment:7 Changed 7 years ago by weasel

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.