-
Notifications
You must be signed in to change notification settings - Fork 1
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
Client integration #78
Conversation
Signed-off-by: Gianpaolo Macario <[email protected]>
Signed-off-by: Gianpaolo Macario <[email protected]>
@alv67 , @Raffone17: WDYT? |
Merge this ! |
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.
💯
Testing locally on gmpowerhorse (Ubuntu 20.04.2 LTS 64-bit) git reset --hard
git describe --tags
docker-compose build --pull --no-cache
docker-compose up -d
docker-compose ps Result:
TODO: Why did blobfishes_server_1 exit??? |
docker-compose.yml
Outdated
@@ -1,8 +1,8 @@ | |||
version: '3' | |||
|
|||
services: | |||
static-pages: | |||
build: client | |||
# static-pages: |
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.
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.
You're right. I made some temporary modifications to do some tests. And pushed it to be able to transfer this WIP modification to my other working site. This was not intended to be pulled in this version. No problem at all to restore "static-pages" server.
"build:server": "rm -rf ./dist/ && tsc" | ||
"build:server": "rm -rf ./dist/ && tsc", | ||
"build:client": "cd client && npm run build", | ||
"serve:prod": "npm run build:client && npm run serve:server", |
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.
To make code simpler and more readable I would recommend to sort entries alphabetically
@alv67 please see my review comments on Also, it does not look like the command line to start container
|
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.
I made some cleaning to let this branch be merged so you can then marge also #45 .
NOTE: this is a WIP version, not to be considered as a Release.
Remains to do some works on the client :
- Books Create/Edit form need to have a list of all authors to choose from and a list of already used genres.
- View pages for single Author with his books
- View pages for single Book with all insormation
- Management for "owner", readers and reviews
- more to come
Signed-off-by: Gianpaolo Macario <[email protected]>
@alv67 as a matter of fact my suggestion was to replace
with
as on my local instance (Ubuntu 20.04.2 LTS 64-bit) the command you propose triggers a runtime error when the container is run
I just added 5457989 to address this |
No description provided.