The goal is to set up a Django management command and API route (with authentication support) for deleting HiGlass tilesets. We will do the work on a t2.micro EC2 instance running Ubuntu 18.04 (ami-0f65671a86f061fcd). Nodejs Installation Install node, npm, and npx from Nodejs: $ cd ~ $ wget -qO- https://nodejs.org/dist/v11.1.0/node-v11.1.0-linux-x64.tar.xz > node-v11.1.0-linux-x64.tar.xz $ tar xvf […]
Monthly Archives: November 2018
Running production and deployment React apps on the same EC2 host
Say you have an Amazon EC2 host with TCP ports 80 and 3000 open. For the purposes of this post, we’ll run Ubuntu 16 on this EC2 host. You want to run production and deployment versions of a React application on ports 80 and 3000, respectively, using nginx as the web server underneath. Even if you […]