Skip to content

Commit

Permalink
Release 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mraible committed Apr 28, 2023
1 parent 1b1f9f1 commit f38e1b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 21-Points Health

[![Build Status][travis-image]][travis-url] [![devDependencies Status][daviddm-image]][daviddm-url] [![sonar-quality-gate][sonar-quality-gate]][sonar-url]
[![Build Status][travis-image]][travis-url] [![devDependencies Status][daviddm-image]][daviddm-url]

> To track your health and improve your life. 😊
Expand Down Expand Up @@ -261,5 +261,3 @@ To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`)
[travis-url]: https://travis-ci.org/mraible/21-points
[daviddm-image]: https://david-dm.org/mraible/21-points/dev-status.svg
[daviddm-url]: https://david-dm.org/mraible/21-points?type=dev
[sonar-url]: https://sonarcloud.io/dashboard?id=mraible_21-points
[sonar-quality-gate]: https://sonarcloud.io/api/project_badges/measure?project=mraible_21-points&metric=alert_status
6 changes: 2 additions & 4 deletions UPGRADE.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Upgrade Guide
:toc: macro

This document describes steps necessary to upgrade 21-points.com on Heroku. It's contains the lessons learned in link:https://www.jhipster-book.com/#!/news/entry/upgrading-21-points-health-from-v1-to-v4[upgrading from version 1 to 4], link:https://www.jhipster-book.com/#!/news/entry/21-points-v5-has-been-released[version 4 to 5], and version 5 to 7.
This document describes steps necessary to upgrade https://www.21-points.com[21-points.com] on Heroku. It contains the lessons learned in link:https://www.jhipster-book.com/#!/news/entry/upgrading-21-points-health-from-v1-to-v4[upgrading from version 1 to 4], link:https://www.jhipster-book.com/#!/news/entry/21-points-v5-has-been-released[version 4 to 5], and version 5 to 7.

toc::[]

Expand Down Expand Up @@ -58,9 +58,7 @@ cp ~/.m2/repository/org/postgresql/postgresql/42.2.19/postgresql-42.2.19.jar lib

On Heroku, the https://elements.heroku.com/addons/bonsai[Bonsai Elasticsearch] is configured as an add-on. JHipster is automatically configured to talk to it.

Unfortunately, as of JHipster 7.9.3, Elasticsearch https://github.com/jhipster/generator-jhipster/issues/20315[doesn't work out of the box with Heroku]. To solve this, you can create a Docker image with Elasticsearch and deploy it to somewhere that can run it, or you can use Elastic Cloud.

I chose to https://www.jhipster.tech/using-elasticsearch/#using-elastic-cloud[use Elastic Cloud].
Unfortunately, as of JHipster 7.9.3, Elasticsearch https://github.com/jhipster/generator-jhipster/issues/20315[doesn't work out of the box with Heroku]. To solve this, you can create a Docker image with Elasticsearch and deploy it to somewhere that can run it, or you can use Elastic Cloud. I chose to https://www.jhipster.tech/using-elasticsearch/#using-elastic-cloud[use Elastic Cloud].

Then, I installed the https://github.com/Ebsan/generator-jhipster-es-entity-reindexer[JHipster Elasticsearch Reindexer module] and https://github.com/Ebsan/generator-jhipster-es-entity-reindexer/pull/8/files[fixed some imports for JHipster 7.9.3].

Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { ErrorComponent } from './layouts/error/error.component';
// Set this to true to enable service worker (PWA)
// todo: figure out how to enable this when deploying to Heroku
// Cypress tests fail when it's enabled
ServiceWorkerModule.register('ngsw-worker.js', { enabled: false }),
ServiceWorkerModule.register('ngsw-worker.js', { enabled: true }),
HttpClientModule,
NgxWebstorageModule.forRoot({ prefix: 'jhi', separator: '-', caseSensitive: true }),
TranslationModule,
Expand Down

0 comments on commit f38e1b2

Please sign in to comment.