Installation

Installing using Docker for development

Quick start

You need to have Docker and docker-compose installed on your system.

$ git clone git@github.com:newlogic/newlogic-g2p-docker.git
$ git submodule init
$ git submodule update
$ docker-compose -f docker-compose.yml  -f dev-standalone.yml up

Then open http://localhost:8069/ in your browser.

Installing for production

Using Docker

TODO

Installing on Amazon EC2

Amazon Web Services (AWS) is one of the many other options for installing OpenG2P-ng. It’s a good idea to read through the Docker instructions, as many of the steps remain the same or similar.

To obtain a server you will need to first create an AWS account <https://aws.amazon.com/>. When launching your instance, select the Ubuntu Server 20.04 LTS AMI in step 1. The t2.micro instance type has the 1GB of memory recommended for if you don’t expect many registrants and you don’t expect many large activities.

When adjusting the security settings open up the ports for SSH, HTTP, and HTTPS. Once you have launched your instance, go to the Elastic IPs menu option under Network & Security, then allocate a new address and associate it with your server in order to keep the IP address for your server consistent.

Before installing OpenG2P-ng on your server, you need to install Docker and Docker Compose. Follow the instructions below.

  1. Install Docker Engine on Ubuntu.

  2. Install Docker Compose.

After installing Docker and Docker Compose you can follow our DigitalOcean instructions from running:

git clone https://github.com/newlogic/newlogic-g2p-docker

Continue with the Docker instructions.

Finally, configure an e-mail service such as Amazon SES because Amazon restricts emails sent from EC2.