This document shows how to get the HCP-customized pyxnat running on Amazon EC2, using a NITRC-CE AMI. (That's a lot of TLAs in one sentence; if you have no idea what this is all about, you might start here.)
- Get your AMI instance running on EC2 and log in. I recommend the NITRC-CE AMI, although if you have some reason not to use it (Ubuntu-hater?), I've done all this on a vanilla Amazon Linux AMI and it wasn't that much harder. This is a complicated step, at least if you've never used AWS, and I'm not going to document it in detail (yet) because I'm not convinced I completely understand what I did. For now, I'll just offer encouragement: I got one running, you can do it too.
Install the non-Python dependencies.
Code Block ubuntu@ip-w-x-y-z:~$ sudo apt-get install libxml2-dev libxslt-dev
Install virtualenv.
Code Block ubuntu@ip-w-x-y-z:~$ sudo pip install virtualenv
4 . Source the virtual environment's activate script; you'll need to do this for any shell where you're using this virtual environment.
...