-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fjerne denne
No description provided.