Getting the Source Code on EC2
Last updated
Last updated
To deploy MyCRT, you must obtain MyCRT's source code, install al of MyCRT's dependencies, and build the MyCRT project. MyCRT is still in active development - future developments of this project could be automated.
From the EC2 dashboard, click "Launch Instance".
Select "Ubuntu Server 16.04 LTS (HVM), SSD Volume Type", t2.micro, and click "Launch".
Choose or create a key pair to use when logging into the instance. After a few minutes, your instance will be available for use. Use your key pair and instance public DNS or IP address to SSH in.
Modify your instance's security group to allow HTTP traffic from all sources.
After SSH'ing in, run the following command to get the source code. Git should come pre-installed on the machine.
This will create a mycrt
directory for the repository.
Running the MyCRT service will require that the following dependencies be installed.
Running mysql --version
should show mysql Ver 14.14 Distrib 5.7.21, for Linux (x86_64) using EditLine wrapper
This will install both node and npm. node --version
should show at least v8.11.1, and npm --version
should show at least 5.6.0
Now, we should be able to build MyCRT. This will ensure that everything has gone well so far!
To build MyCRT, run the following:
This will take several minutes, and there should be no errors in the output.
Next Step
Create an RDS Instance