-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Create Cloud Sync #45
Comments
+1 Love it |
Can you save this as your own branch so I can use it instead? |
@alockbox I have it on my forked repo https://github.com/drtobbyas/EnBizCard/tree/feat/add-cloud-sync. You pull and use the branch |
That's where I saw it, thanks! But I'm not too familiar with GitHub. I was able to clone the original one into a docker instance by using: Trying that with yours didn't seem to work. I'll continue to try, the developer has not seemed to be very involved for over a year now. Even an upload feature for just critical fields would help, as the QR and everything else would generic dynamically based on that data. Thank you again for your work. Edit: the closest I’ve gotten is cd /volume1/docker/ && sudo git clone -b feat/add-cloud-sync https://github.com/drtobbyas/EnBizCard.git but as the .env file is missing I’m guessing it’s only pulling changed files? Even overwriting the original files with these and then spinning up doesn’t update the site for me to have the save feature. I must just be doing something wrong. I’ve tried every command I can think of to spin up an instance with this code. |
I started all over with a clean install of the branch and it still did not work. Exact steps and returns
A: Container enbizcard Creating A: Container enbizcard Created A: Container enbizcard Starting A:Container enbizcard Started
A: Switched to a new branch 'feat/add-cloud-sync' A: branch 'feat/add-cloud-sync' set up to track 'origin/feat/add-cloud-sync'. A: Already up to date.
|
@alockbox oh! you could have cloned the 'feat/add-cloud-sync' branch. Anyway, I have merged it to the master branch. You can seamlessly clone now
|
@drtobbyas I did exactly that, but it looks exactly like the master branch. No IMPORT DATA section. Attached is a pdf of the whole page from safari. EnBizCard - An Open-Source Digital Business Card Generator.pdf |
@drtobbyas I compared my pages/index.vue to the one on yours and it looks the same. I even see the following: [ div class="flex items-center"> Do you want to Import Data from the cloud?</p ] But does not populate on safari or chrome. I've tried on Windows 11 as well. |
Screencast from 09-06-2024 16:31:56.webm Also you need to follow the video tutorial on how to create and set up cloudinary account https://www.youtube.com/watch?v=hg-IDl4JBXA |
Thank you for doing that. Yes, I watched the entire video before I started. The toggle should show up from a fresh install of your branch with no cloudinary account right though? I don't even get the toggle. The exact code I'm running is:
|
Try to run without docker just like I did in my recent screencast. BTW you are not adding --build to your docker compose, it will not rebuild the image. Use
or
|
Yeah running without docker isn't really going to be an option on my Synology NAS. Using the --build command results in a lot of errors. Maybe this is why the creator has not accepted the fork... it was designed to be easy to setup in docker. Even the instructions that show up on your page reference docker install with compose. I guess this is just at an impasse now. FYI this with the --build command, these are the errors: Current status: 17 (Interrupted) #2 [internal] load build definition from Dockerfile #1 [internal] load .dockerignore #3 [internal] load metadata for docker.io/library/nginx:alpine #4 [internal] load metadata for docker.io/library/node:16.17.0-alpine #5 [build 1/6] FROM docker.io/library/node:16.17.0-alpine@sha256:2c405ed42fc0fd6aacbe5730042640450e5ec030bada7617beac88f742b6997b #6 [stage-1 1/2] FROM docker.io/library/nginx:alpine@sha256:69f8c2c72671490607f52122be2af27d4fc09657ff57e42045801aa93d2090f7 #7 [internal] load build context #8 [build 2/6] WORKDIR /app #9 [build 3/6] COPY package*.json ./ #10 [build 4/6] RUN npm i #11 [build 5/6] COPY . . #12 [build 6/6] RUN npm run generate
|
@drtobbyas I got it up and running, I'll share the code once I clean it up. But I've noticed not all fields are returned. For example, when selecting the PRODUCT option under Featured Content, then uploading an image in the field "add product image", the image is not loaded when the save url is restored. I have masked the data, but this is the data I am referencing. I've verified the image exists by direct url. "contentType":"product","url":"https://res.cloudinary.com/dnfrXXXXX/image/upload/v1717979341/product_eh0i4w.png"}]}], The original branch does exhibit unusual behavior i.e. a Title or text needs to be added before the image will appear for a product. I can attach a video example but it's a fast thing to check. But this one no matter what it does the image does not populate. |
I also can't build after cloning this repo: `
[nuxt:tailwindcss] ERROR Error occurred while loading @nuxt/postcss8 required for Nuxt 2.15.8, is it installed? FATAL Nuxt module should be a function: @nuxt/postcss8 at loadNuxtModuleInstance (node_modules/@nuxt/kit/dist/index.mjs:2459:11) ╭─────────────────────────────────────────────────────────────────╮ |
Add feature to incorporate cloud sync in order to be able to save data and retrieve it for editing next time.
I have implemented this functionality on my forked branch. https://github.com/drtobbyas/EnBizCard
Here is a preview of how it works https://www.youtube.com/watch?v=hg-IDl4JBXA
I have created a Pull Request for this feature. #46
Do you mind reviewing and merging the PR here?
The text was updated successfully, but these errors were encountered: