Go to file
Ezra 3f855f3883 fix style import conflict 2021-05-25 18:30:34 -05:00
app fix style import conflict 2021-05-25 18:30:34 -05:00
config CSP rules were pointed to the wrong server 2021-05-18 18:39:36 -05:00
public add video thumbnail to video 2021-05-20 20:21:00 -05:00
support Got navigation working 2020-10-04 16:58:28 -05:00
tests Add Commentary Book intros to the chapter nav 2021-05-21 09:37:40 -05:00
vendor Initial Commit from Ember CLI v3.20.0 2020-08-21 15:13:47 -05:00
.editorconfig Initial Commit from Ember CLI v3.20.0 2020-08-21 15:13:47 -05:00
.ember-cli Initial Commit from Ember CLI v3.20.0 2020-08-21 15:13:47 -05:00
.env.deploy.environment.EXAMPLE Add an example .env.deploy file that was previously ignored 2021-04-08 12:16:53 -05:00
.eslintignore Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.eslintrc.js Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.gitignore Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.prettierignore Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.prettierrc.js Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.template-lintrc.js Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
.travis.yml Initial Commit from Ember CLI v3.20.0 2020-08-21 15:13:47 -05:00
.watchmanconfig Initial Commit from Ember CLI v3.20.0 2020-08-21 15:13:47 -05:00
README.md Add deploy instructions to the README 2021-04-08 09:15:03 -05:00
ember-cli-build.js Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
package.json Remove ember-cli-deploy-gzip to avoid clashes with SRI 2021-04-08 14:24:57 -05:00
testem.js Updated ember to 3.25.3 2021-04-08 09:22:27 -05:00
yarn.lock Remove ember-cli-deploy-gzip to avoid clashes with SRI 2021-04-08 14:24:57 -05:00

README.md

gwt-frontend

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd gwt-frontend
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

The project uses ember-cli-deploy-simply-ssh to handle automated deployments to the production server. In order to deploy a build, you need to have SSH access to the host server and an ssh key setup for authentication. Instructions for setting up an ssh key on your local machine can be found at https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent (only follow the instructions for 'Generating a new SSH key'. To get your public key installed on the server you will need to contact the hosting administrator.

Once your key is setup and installed on the host server, you will need to add a file named .env.example.production with the following contents:

SSH_HOST=server_host_name
SSH_PORT=server_port
SSH_USER=server_user
SSH_KEY=/Users/yourname/.ssh/your_private_key

Change the variables to your required settings, but do not commit the file to the repo. ember-cli-deploy-simply-ssh is able to handle SSH password authentication as well, but you will need to investigate that on your own.

Once your configuration is set, run

ember deploy production --activate

This command will create a new revision on the server and activate it. If you run without the --activate option you will need to activate the revision manually by running

ember deploy:activate production --revision revision_number

revision_number will look something like 53b49825426ef9fa12a24254afa45e55.