Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
On 27 July 2016 at 00:46, Samuel Cantero  wrote:

> We can apply the same procedure for turtleartday.org.
>
>>
Yes, that will be perfect. I proposed some variant names for things in
https://wiki.sugarlabs.org/go/Service/turtleartday.org - please update this
page if your implementation differs :)
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
On 26 July 2016 at 13:56, Bernie Innocenti  wrote:

> We already
> have an obsolete page here:
>
>   https://wiki.sugarlabs.org/go/Service/www
>

I updated it.


> We should have a similar page for turtleart.org.
>

I made this as a start:

https://wiki.sugarlabs.org/go/Service/turtleartday.org

-- 
Cheers
Dave
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Samuel Cantero
On Tue, Jul 26, 2016 at 11:40 PM, Dave Crossland  wrote:

>
> On 26 July 2016 at 22:38, Samuel Cantero  wrote:
>
>> Zone added.
>>
>
> Awesome! Thanks guys!
>
>
>> Now we need to configure the site in freedom. Dave, in what is written
>> the new site?
>>
>
> Its a jekyll site, I assume Sam P has used
> https://developer.github.com/webhooks/ to set up freedom so that on each
> commit to the master branch of https://github.com/sugarlabs/www-sugarlabs then
> freedom pulls that repo master branch and runs jekyll to update
> the www.sl.o website.
>

I have found how Sam P did it. In
https://github.com/sugarlabs/www-sugarlabs/settings/hooks there is a
webhook defined. This webhook send a POST request in JSON format to
https://hook.sugarlabs.org/www.sugarlabs.org. A container named
org.sugarlabs.www-rebuilder is in charge of processing this payload. This
container was down. I had to manually trigger the delivery of the last two
payloads. They have previously failed because the container was down.

This container does the following:

(1) Install jekyll.
(2) Clone the SL repo.
(3) Install Flask
(4) Execute a Flask Python App which does the following: pull the repo and
jekyll build. This app doesn't parse the POST request.

The site is generated in the folder /clone/_site which is bind to the
following dir in freedom: /srv/www-out. This is the doc root for the SL in
the nginx server block.

We can apply the same procedure for turtleartday.org.

>
> --
> Cheers
> Dave
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
On 26 July 2016 at 22:38, Samuel Cantero  wrote:

> Zone added.
>

Awesome! Thanks guys!


> Now we need to configure the site in freedom. Dave, in what is written the
> new site?
>

Its a jekyll site, I assume Sam P has used
https://developer.github.com/webhooks/ to set up freedom so that on each
commit to the master branch of https://github.com/sugarlabs/www-sugarlabs then
freedom pulls that repo master branch and runs jekyll to update
the www.sl.o website

-- 
Cheers
Dave
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Samuel Cantero
On Tue, Jul 26, 2016 at 1:48 PM, Bernie Innocenti 
wrote:

> On 26/07/16 13:16, Samuel Cantero wrote:
> > According to whois, turtleartday.org 
> > is pointing out to these NS:
> >
> > Name Server: NS66.DOMAINCONTROL.COM <
> http://NS66.DOMAINCONTROL.COM>
> > Name Server: NS65.DOMAINCONTROL.COM <
> http://NS65.DOMAINCONTROL.COM>
> >
> > We should modify it to point out to ns1.sugarlabs.org
> >  and add the DNS records.
> >
> >
> > Yes that sounds ideal :)
> >
> >
> > I guess Bernie has access to the platform. Do you also have access? Who
> > can change the NS? I can add the DNS records for turtleartday.org
> >  after we define where to host.
>
> I'll give you access to the SL Gandi account tonight, when we meet in
> person.
>
> Meanwhile, I changed the nameservers to point at our primary and
> secondary DNS so you can go ahead and create the zone now.
>

Zone added. Now we need to configure the site in freedom. Dave, in what is
written the new site?

>
> --
>  _ // Bernie Innocenti
>  \X/  http://codewiz.org
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
On 26 July 2016 at 13:56, Bernie Innocenti  wrote:

> On 26/07/16 13:24, Dave Crossland wrote:
> > OK :) Would you like to create a container on freedom for a nginx
> > server, that is set up similarly to how Sam P has set up
> > www.sugarlabs.org  on freedom?
> >
> > Sam P, could you describe anything special you did to set up freedom for
> > the main website?
>
> Would be good to document this once and for all in the wiki. We already
> have an obsolete page here:
>
>   https://wiki.sugarlabs.org/go/Service/www
>
> We should have a similar page for turtleart.org. I've been pondering the
> idea of requiring people to draft the documentation of future services
> in the wiki *before* granting them access to the host where the work is
> to be done. It may sound a bit fascist, but I can't think of another way
> to keep our documentation up to date ;-)


Sounds good to me :)
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Bernie Innocenti
On 26/07/16 13:24, Dave Crossland wrote:
> OK :) Would you like to create a container on freedom for a nginx
> server, that is set up similarly to how Sam P has set up
> www.sugarlabs.org  on freedom?
> 
> Sam P, could you describe anything special you did to set up freedom for
> the main website?

Would be good to document this once and for all in the wiki. We already
have an obsolete page here:

  https://wiki.sugarlabs.org/go/Service/www

We should have a similar page for turtleart.org. I've been pondering the
idea of requiring people to draft the documentation of future services
in the wiki *before* granting them access to the host where the work is
to be done. It may sound a bit fascist, but I can't think of another way
to keep our documentation up to date ;-)

-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Bernie Innocenti
On 26/07/16 13:16, Samuel Cantero wrote:
> According to whois, turtleartday.org 
> is pointing out to these NS:
> 
> Name Server: NS66.DOMAINCONTROL.COM 
> Name Server: NS65.DOMAINCONTROL.COM 
> 
> We should modify it to point out to ns1.sugarlabs.org
>  and add the DNS records. 
> 
> 
> Yes that sounds ideal :)
> 
> 
> I guess Bernie has access to the platform. Do you also have access? Who
> can change the NS? I can add the DNS records for turtleartday.org
>  after we define where to host.

I'll give you access to the SL Gandi account tonight, when we meet in
person.

Meanwhile, I changed the nameservers to point at our primary and
secondary DNS so you can go ahead and create the zone now.

-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
On 26 July 2016 at 13:16, Samuel Cantero  wrote:

> On Tue, Jul 26, 2016 at 1:07 PM, Dave Crossland  wrote:
>
>>
>> Hi
>>
>> On 26 July 2016 at 13:03, Samuel Cantero  wrote:
>>
>>> On Tue, Jul 26, 2016 at 12:47 PM, Dave Crossland  wrote:
>>>

 Hi

 On 18 July 2016 at 14:48, Dave Crossland  wrote:

> On 2 July 2016 at 17:29, Dave Crossland  wrote:
>
>>
>> 1. Claudia can follow
>> https://wiki.gandi.net/en/domains/transfer/fromgodaddy
>>
>
> I worked with Claudia on this and she has just sent the auth code to
> Bernie. Thank you Claudia!
>
> I noticed the domain needs renewal on September 24 this year, so would
> be great to be ready for that when the finance manager is appointed.
>

 Thanks for renewing it Bernie!


> 2. Bernie can follow https://wiki.gandi.net/en/domains/transfer
>>
>
> Bernie, let me know if you'd like me to carry this out for you, or Sam
> C, etc :)
>

 Good news - over the weekend I met up with Bernie at HOPE and he
 figured out how to authorize the transfer with GoDaddy, so the transfer is
 now complete.

 Bad news - right now it seems http://www.turtleartday.org is down
 again; I assume this is because the Gandhi.net hosting transfer is complete
 but the A records are now not set up.

>>>
>>> According to whois, turtleartday.org is pointing out to these NS:
>>>
>>> Name Server: NS66.DOMAINCONTROL.COM
>>> Name Server: NS65.DOMAINCONTROL.COM
>>>
>>> We should modify it to point out to ns1.sugarlabs.org and add the DNS
>>> records.
>>>
>>
>> Yes that sounds ideal :)
>>
>
> I guess Bernie has access to the platform. Do you also have access? Who
> can change the NS?
>

I do not have access; if you don't have access to the www.gandi.net control
panel to change the nameservers, I suggest you work with Bernie to set up
your access :)

 I can add the DNS records for turtleartday.org after we define where to
> host.
>

Would you like to set up a A record for turtleartday.org pointing to
freedom's IP, and a CNAME record pointing www. at the domain.



> A. I offer to port the existing website to
>> https://github.com/sugarlabs/turtleartday.org
>>
>
> I've done the content for this, and the next step is to do the CSS/JS.
> I hope to do that next weekend.
>
>
>> B. I ask Sam to set up another git hook on the sugar webserver to
>> keep that repo sync'd with the webserver
>>
>
> Sam, no need to do this before the CSS is ready, I think :)
>

 The CSS is now ready - please see
 https://github.com/sugarlabs/turtleartday.org (with live preview at
 https://sugarlabs.github.io/turtleartday.org)

 So now the next steps are for the A records to be set up (if needed);
 and github webhooks made so that the sugar webserver keep the repo sync'd
 with the webserver, or, to point the A records to 192.30.252.153 and
 192.30.252.154 and create a CNAME file in the repo.

 Where are we going to host the site?
>>>
>>
>> I think we should use a similar set up to www.sugarlabs.org - how is
>> that hosted?
>>
>
> It is hosted in freedom, but it is not inside a container. We just use
> nginx. It was set up by Sam P. Are we using the same technologies?
>

OK :) Would you like to create a container on freedom for a nginx server,
that is set up similarly to how Sam P has set up www.sugarlabs.org on
freedom?

Sam P, could you describe anything special you did to set up freedom for
the main website?

-- 
Cheers
Dave
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Samuel Cantero
On Tue, Jul 26, 2016 at 1:07 PM, Dave Crossland  wrote:

>
> Hi
>
> On 26 July 2016 at 13:03, Samuel Cantero  wrote:
>
>> On Tue, Jul 26, 2016 at 12:47 PM, Dave Crossland  wrote:
>>
>>>
>>> Hi
>>>
>>> On 18 July 2016 at 14:48, Dave Crossland  wrote:
>>>
 On 2 July 2016 at 17:29, Dave Crossland  wrote:

>
> 1. Claudia can follow
> https://wiki.gandi.net/en/domains/transfer/fromgodaddy
>

 I worked with Claudia on this and she has just sent the auth code to
 Bernie. Thank you Claudia!

 I noticed the domain needs renewal on September 24 this year, so would
 be great to be ready for that when the finance manager is appointed.

>>>
>>> Thanks for renewing it Bernie!
>>>
>>>
 2. Bernie can follow https://wiki.gandi.net/en/domains/transfer
>

 Bernie, let me know if you'd like me to carry this out for you, or Sam
 C, etc :)

>>>
>>> Good news - over the weekend I met up with Bernie at HOPE and he figured
>>> out how to authorize the transfer with GoDaddy, so the transfer is now
>>> complete.
>>>
>>> Bad news - right now it seems http://www.turtleartday.org is down
>>> again; I assume this is because the Gandhi.net hosting transfer is complete
>>> but the A records are now not set up.
>>>
>>
>> According to whois, turtleartday.org is pointing out to these NS:
>>
>> Name Server: NS66.DOMAINCONTROL.COM
>> Name Server: NS65.DOMAINCONTROL.COM
>>
>> We should modify it to point out to ns1.sugarlabs.org and add the DNS
>> records.
>>
>
> Yes that sounds ideal :)
>

I guess Bernie has access to the platform. Do you also have access? Who can
change the NS? I can add the DNS records for turtleartday.org after we
define where to host.

>
>
>>
>>>
 A. I offer to port the existing website to
> https://github.com/sugarlabs/turtleartday.org
>

 I've done the content for this, and the next step is to do the CSS/JS.
 I hope to do that next weekend.


> B. I ask Sam to set up another git hook on the sugar webserver to keep
> that repo sync'd with the webserver
>

 Sam, no need to do this before the CSS is ready, I think :)

>>>
>>> The CSS is now ready - please see
>>> https://github.com/sugarlabs/turtleartday.org (with live preview at
>>> https://sugarlabs.github.io/turtleartday.org)
>>>
>>> So now the next steps are for the A records to be set up (if needed);
>>> and github webhooks made so that the sugar webserver keep the repo sync'd
>>> with the webserver, or, to point the A records to 192.30.252.153 and
>>> 192.30.252.154 and create a CNAME file in the repo.
>>>
>>> Where are we going to host the site?
>>
>
> I think we should use a similar set up to www.sugarlabs.org - how is that
> hosted?
>

It is hosted in freedom, but it is not inside a container. We just use
nginx. It was set up by Sam P. Are we using the same technologies?

--
> Cheers
> Dave
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
Hi

On 26 July 2016 at 13:03, Samuel Cantero  wrote:

> On Tue, Jul 26, 2016 at 12:47 PM, Dave Crossland  wrote:
>
>>
>> Hi
>>
>> On 18 July 2016 at 14:48, Dave Crossland  wrote:
>>
>>> On 2 July 2016 at 17:29, Dave Crossland  wrote:
>>>

 1. Claudia can follow
 https://wiki.gandi.net/en/domains/transfer/fromgodaddy

>>>
>>> I worked with Claudia on this and she has just sent the auth code to
>>> Bernie. Thank you Claudia!
>>>
>>> I noticed the domain needs renewal on September 24 this year, so would
>>> be great to be ready for that when the finance manager is appointed.
>>>
>>
>> Thanks for renewing it Bernie!
>>
>>
>>> 2. Bernie can follow https://wiki.gandi.net/en/domains/transfer

>>>
>>> Bernie, let me know if you'd like me to carry this out for you, or Sam
>>> C, etc :)
>>>
>>
>> Good news - over the weekend I met up with Bernie at HOPE and he figured
>> out how to authorize the transfer with GoDaddy, so the transfer is now
>> complete.
>>
>> Bad news - right now it seems http://www.turtleartday.org is down again;
>> I assume this is because the Gandhi.net hosting transfer is complete but
>> the A records are now not set up.
>>
>
> According to whois, turtleartday.org is pointing out to these NS:
>
> Name Server: NS66.DOMAINCONTROL.COM
> Name Server: NS65.DOMAINCONTROL.COM
>
> We should modify it to point out to ns1.sugarlabs.org and add the DNS
> records.
>

Yes that sounds ideal :)


>
>>
>>> A. I offer to port the existing website to
 https://github.com/sugarlabs/turtleartday.org

>>>
>>> I've done the content for this, and the next step is to do the CSS/JS. I
>>> hope to do that next weekend.
>>>
>>>
 B. I ask Sam to set up another git hook on the sugar webserver to keep
 that repo sync'd with the webserver

>>>
>>> Sam, no need to do this before the CSS is ready, I think :)
>>>
>>
>> The CSS is now ready - please see
>> https://github.com/sugarlabs/turtleartday.org (with live preview at
>> https://sugarlabs.github.io/turtleartday.org)
>>
>> So now the next steps are for the A records to be set up (if needed); and
>> github webhooks made so that the sugar webserver keep the repo sync'd with
>> the webserver, or, to point the A records to 192.30.252.153 and
>> 192.30.252.154 and create a CNAME file in the repo.
>>
>> Where are we going to host the site?
>

I think we should use a similar set up to www.sugarlabs.org - how is that
hosted?

-- 
Cheers
Dave
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Samuel Cantero
On Tue, Jul 26, 2016 at 12:47 PM, Dave Crossland  wrote:

>
> Hi
>
> On 18 July 2016 at 14:48, Dave Crossland  wrote:
>
>> On 2 July 2016 at 17:29, Dave Crossland  wrote:
>>
>>>
>>> 1. Claudia can follow
>>> https://wiki.gandi.net/en/domains/transfer/fromgodaddy
>>>
>>
>> I worked with Claudia on this and she has just sent the auth code to
>> Bernie. Thank you Claudia!
>>
>> I noticed the domain needs renewal on September 24 this year, so would be
>> great to be ready for that when the finance manager is appointed.
>>
>
> Thanks for renewing it Bernie!
>
>
>> 2. Bernie can follow https://wiki.gandi.net/en/domains/transfer
>>>
>>
>> Bernie, let me know if you'd like me to carry this out for you, or Sam C,
>> etc :)
>>
>
> Good news - over the weekend I met up with Bernie at HOPE and he figured
> out how to authorize the transfer with GoDaddy, so the transfer is now
> complete.
>
> Bad news - right now it seems http://www.turtleartday.org is down again;
> I assume this is because the Gandhi.net hosting transfer is complete but
> the A records are now not set up.
>

According to whois, turtleartday.org is pointing out to these NS:

Name Server: NS66.DOMAINCONTROL.COM
Name Server: NS65.DOMAINCONTROL.COM

We should modify it to point out to ns1.sugarlabs.org and add the DNS
records.

>
>
>> A. I offer to port the existing website to
>>> https://github.com/sugarlabs/turtleartday.org
>>>
>>
>> I've done the content for this, and the next step is to do the CSS/JS. I
>> hope to do that next weekend.
>>
>>
>>> B. I ask Sam to set up another git hook on the sugar webserver to keep
>>> that repo sync'd with the webserver
>>>
>>
>> Sam, no need to do this before the CSS is ready, I think :)
>>
>
> The CSS is now ready - please see
> https://github.com/sugarlabs/turtleartday.org (with live preview at
> https://sugarlabs.github.io/turtleartday.org)
>
> So now the next steps are for the A records to be set up (if needed); and
> github webhooks made so that the sugar webserver keep the repo sync'd with
> the webserver, or, to point the A records to 192.30.252.153 and
> 192.30.252.154 and create a CNAME file in the repo.
>
> Where are we going to host the site?

> --
> Cheers
> Dave
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] TurtleArtDay.org domain transfer + new site

2016-07-26 Thread Dave Crossland
Hi

On 18 July 2016 at 14:48, Dave Crossland  wrote:

> On 2 July 2016 at 17:29, Dave Crossland  wrote:
>
>>
>> 1. Claudia can follow
>> https://wiki.gandi.net/en/domains/transfer/fromgodaddy
>>
>
> I worked with Claudia on this and she has just sent the auth code to
> Bernie. Thank you Claudia!
>
> I noticed the domain needs renewal on September 24 this year, so would be
> great to be ready for that when the finance manager is appointed.
>

Thanks for renewing it Bernie!


> 2. Bernie can follow https://wiki.gandi.net/en/domains/transfer
>>
>
> Bernie, let me know if you'd like me to carry this out for you, or Sam C,
> etc :)
>

Good news - over the weekend I met up with Bernie at HOPE and he figured
out how to authorize the transfer with GoDaddy, so the transfer is now
complete.

Bad news - right now it seems http://www.turtleartday.org is down again; I
assume this is because the Gandhi.net hosting transfer is complete but the
A records are now not set up.


> A. I offer to port the existing website to
>> https://github.com/sugarlabs/turtleartday.org
>>
>
> I've done the content for this, and the next step is to do the CSS/JS. I
> hope to do that next weekend.
>
>
>> B. I ask Sam to set up another git hook on the sugar webserver to keep
>> that repo sync'd with the webserver
>>
>
> Sam, no need to do this before the CSS is ready, I think :)
>

The CSS is now ready - please see
https://github.com/sugarlabs/turtleartday.org (with live preview at
https://sugarlabs.github.io/turtleartday.org)

So now the next steps are for the A records to be set up (if needed); and
github webhooks made so that the sugar webserver keep the repo sync'd with
the webserver, or, to point the A records to 192.30.252.153 and
192.30.252.154 and create a CNAME file in the repo.

-- 
Cheers
Dave
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep