An open API service indexing awesome lists of open source software.

https://github.com/tolgee/ngx-example

Example application using Tolgee Angular integration
https://github.com/tolgee/ngx-example

Last synced: 3 months ago
JSON representation

Example application using Tolgee Angular integration

Awesome Lists containing this project

README

          


🚨🚨🚨 This repo is just a dummy 🚨🚨🚨

Submit issues in the
monorepo
or
check the source code here.

# Example application of using Angular with Tolgee

[Tolgee](https://tolgee.io)

To learn more about Tolgee, visit [https://tolgee.io](https://tolgee.io).

## The Docs
[Read more about using Tolgee with Angular in the docs.](https://tolgee.io/js-sdk/integrations/angular/installation)

## To run the app in dev mode

To install dependencies, run:

npm install

To run the app in dev mode with in-context translating mode:

1. Create a project on [Tolgee Cloud](https://app.tolgee.io) or use
self-hosted [Tolgee Server](https://github.com/tolgee/server).
2. Generate an API-KEY
3. Copy file `projects/sampleapp/src/environments/environment.ts` to `projects/sampleapp/src/environments/environment.stage.ts`
4. Set `apiKey` to API key obtained in previous step
5. Run `npm run start`
6. Have fun

## To run the app in production mode

To build the app for production run:

npm run build

Static website will be generated. To start local server with build app, run:

npm run serve

---

This repository is automatically re-published from [Tolgee JS monorepo](https://github.com/tolgee/tolgee-js).