GPL release of Trex

Showing 1-9 of 9 messages
GPL release of Trex Dave Winer 10/11/13 10:06 AM
Not sure what if anything people are going to be able to do with this...


But I wanted to be sure you all were aware of it. 

It's quite possible that a lightly-loaded Trex server could operate for an indefinite period.

I did some investigation into the problems, and it seems it was that there were a lot more named outlines in the last month. It's the kind of problem you love to have in normal situations, where you're prepared to add more servers. But we were not. ;-(

Dave


Re: [smallpicture-web] GPL release of Trex Andrew Shell 10/11/13 10:53 AM
These are the steps I took to build Trex.

Setup new 1GB VPS with Ubuntu 13.04 x64

Point a domain name at it as well as a wildcard subdomain.
In my testing I used the domain "compoundhappiness.com"

Login as root
apt-get update
apt-get upgrade
apt-get install vim zip build-essential automake autoconf git-core subversion libssl-dev libtool
reboot
cd /var
git clone git@github.com:scripting/trex.git
cd trex
git submodule init
git submodule update
./build.sh

export LD_LIBRARY_PATH=/var/trex/deps/usr/lib

cd build
make install

trex http://static.smallpicture.com/tacoma/wo/admin/2013/05/03/archive017.opml

http://andrewshell.compoundhappiness.com:8080/

Notes:

Originally tried installing on Ubuntu 12.04 LTS x64 however got the error:
configure.ac:4: error: Autoconf version 2.69 or higher is required



--
You received this message because you are subscribed to the Google Groups "smallpicture-web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smallpicture-w...@googlegroups.com.
To post to this group, send email to smallpic...@googlegroups.com.
Visit this group at http://groups.google.com/group/smallpicture-web.
For more options, visit https://groups.google.com/groups/opt_out.

Re: [smallpicture-web] GPL release of Trex Bill Soistmann 10/12/13 10:23 AM
Thanks for this Andrew.

I tried on an older version of Ubuntu and saw 

make: *** No rule to make target `install'.  Stop.

after typing make build from /var/trex/build

I launched another box with 13.04 and got the same thing.

I didn't notice any other problems with anything along the way and the only thing I did differently was pull my fork from Github.
Re: [smallpicture-web] GPL release of Trex Andrew Shell 10/12/13 10:37 AM
You don't need to make build. Running ./build.sh builds it. Just make install


Re: [smallpicture-web] GPL release of Trex Bill Soistmann 10/12/13 10:43 AM
that was a typo

I DID type make install ( as you can probably tell from the error I get )

BTW, I noticed after submitting my question that there is a smallpicture-trex list. Should I just launch an instance from that AMI and start there?



On Saturday, October 12, 2013 at 1:37 PM, Andrew Shell wrote:

You don't need to make build. Running ./build.sh builds it. Just make install



On Oct 12, 2013, at 12:23 PM, Bill Soistmann <sois...@gmail.com> wrote:

Thanks for this Andrew.

I tried on an older version of Ubuntu and saw 

make: *** No rule to make target `install'.  Stop.

after typing make build from /var/trex/build

I launched another box with 13.04 and got the same thing.

I didn't notice any other problems with anything along the way and the only thing I did differently was pull my fork from Github.


On Friday, October 11, 2013 1:53:06 PM UTC-4, Andrew Shell wrote:
These are the steps I took to build Trex.

Setup new 1GB VPS with Ubuntu 13.04 x64

Point a domain name at it as well as a wildcard subdomain.
In my testing I used the domain "compoundhappiness.com"

Login as root
apt-get update
apt-get upgrade
apt-get install vim zip build-essential automake autoconf git-core subversion libssl-dev libtool
reboot
cd /var
git clone g...@github.com:scripting/trex.git

Re: [smallpicture-web] GPL release of Trex Andrew Shell 10/12/13 11:02 AM
Not sure about the AMI. I have never tried it before.

I don't have a solution for your issue with make install. I'm on my phone so sorry about missing the typo.

When I get home later today I'll try going through the instructions again. Maybe I missed a step.

Cheers,
Andrew
Re: [smallpicture-web] GPL release of Trex Bill Soistmann 10/12/13 11:08 AM
perfect, thanks

not like I haven't done this kind of thing before, but I thought I'd just check to see if there is a missing step

i am going to launch that AMI and see if that gets me any further
Re: [smallpicture-web] GPL release of Trex dodyg 10/19/13 3:41 AM
My C++ fu is pretty limited but this is what I can discern from the source code
  • It uses LevelDB for storage (I am not sure for what yet) (https://code.google.com/p/leveldb/)
  • It embeds V8 JavaScript engine
  • It uses Mongoose web server (https://code.google.com/p/mongoose/)
  • It uses LibXML parser(http://www.xmlsoft.org/)
  • A lot of logic written in JS
    • It is pretty much a JS app embedded inside C/C++ infrastructure
    • I cannot locate where the rendering are done - it's probably inside trexBoot.opml
  • trexBoot.opml is interesting - it is full or javascript functions embedded inside an outline
    • I bet this is the place where all the logic/control codes are located



On Saturday, October 12, 2013 8:08:01 PM UTC+2, Bill Soistmann wrote:
perfect, thanks

not like I haven't done this kind of thing before, but I thought I'd just check to see if there is a missing step

i am going to launch that AMI and see if that gets me any further

On Saturday, October 12, 2013 at 2:02 PM, Andrew Shell wrote:I 

Re: [smallpicture-web] GPL release of Trex Andrew Shell 10/19/13 10:24 AM
From my digging into it the only thing LevelDB is used for is caching.

Cheers,
Andrew