Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build directly to static and added heroku deployment #5

Merged
merged 16 commits into from
Aug 30, 2023
Merged

Conversation

vegarrsm
Copy link
Collaborator

No description provided.

@@ -1,3 +1,3 @@
server.port=8081
server.port=${PORT:8081}
spring.datasource.url=jdbc:h2:file:./db-scheduler-ui-backend/test-db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;DEFAULT_NULL_ORDERING=HIGH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funker den H2 greia her på heroku?

@@ -0,0 +1,14 @@
<!doctype html>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det blir egentlig litt rart å commite den "ferdigbygde" frontend appen inn i selve repoet vårt, den må jo bygges på nytt hver gang noe kommer inn på main

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsc && cross-env VITE_API_BASE_URL=https://jobjugglerapi-936dd3770db4.herokuapp.com/api vite build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

På sikt tror jeg vi må finne en annen måte å få "injecta" API-url'en inn i frontenden, for det skal jo bli generisk eller kunne konfigureres av de som bruker rammeverket

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fjerne denne

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsc && cross-env VITE_API_BASE_URL=https://jobjugglerapi-936dd3770db4.herokuapp.com/api vite build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fjerne denne

@vegarrsm vegarrsm merged commit f5acb1b into main Aug 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants