Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.19 KB

Prerequisites

  • NodeJS (https://nodejs.org/en/download/)
  • npm (installed with nodejs - please do not use npm directly but yarn)
  • yarn (npm i -g yarn)
  • Angular CLI (yarn global add @angular/cli)
  • VirtualBox + Vagrant OR docker + docker-compose

How do you turn this on?

  • Database cd env
    1. Start Database:
    • Either using vagrant up (shut down via: vagrant halt)
    • Or by running docker-compose up (shut down: [CTRL]+[C])- Client cd client
    1. Install dependencies with yarn
    2. Copy i18n config ./client/xliffmerge.template.json -> ./client/xliffmerge.json and add Google Translate API key
    3. Start development server with yarn start
    4. (Optional): Run Tests in Background (watch) yarn test
  • API Server cd api
    1. Install dependencies with yarn
    2. Copy Configuration Template files
      1. ./api/ormconfig.sample.json -> ./api/ormconfig.json
      2. ./api/config.sample.json -> ./api/config.json
    3. Run the database migration once yarn migrate:run
    4. Start development server with yarn start
    5. (Optional): Run Tests in Background (watch) yarn test

Now see the application under: http://localhost:4200