cardkit icon indicating copy to clipboard operation
cardkit copied to clipboard

Loading issues on Chrome (Windows)

Open kkdeep opened this issue 9 years ago • 7 comments

I have tested locally & it's working but what is the proper procedure to deploy it on a test/production server? Also is there a way to display the previously generated images in sort of gallery?

kkdeep avatar Jun 15 '15 07:06 kkdeep

If you run grunt build from the root directory of your project, it'll build your config, minify the code, and package it up into the /dist directory.

From there, you can deploy the contents of the /dist directory on to any server or static file host. You can also deploy to GitHub Pages (use GitHub as your host), by following this guide: https://gist.github.com/cobyism/4730490

chrishutchinson avatar Jun 15 '15 08:06 chrishutchinson

Hey Chris, Thanks for the answer. I tried but it seems some other dependencies are missing. The test server link is https://pledgetovote.socialchamps.com/kkd/RnD/Ads/index.html . Locally its working fine. Can you suggest the solution?

kkdeep avatar Jun 15 '15 10:06 kkdeep

Looks good on the server to me. Is there something not showing that you're expecting to see?

There are a couple of console errors due to some old web fonts that I haven't removed from the <head> that aren't actually required - I'll make sure they're removed in a future update.

chrishutchinson avatar Jun 15 '15 10:06 chrishutchinson

The options for selecting the canvas size & theme are not showing. I see when the "grunt server" is executed the /app/index.html is loaded first (For selecting various parameters). If I use only /dist directory then these parameters are absent. Am I doing something wrong?

kkdeep avatar Jun 15 '15 11:06 kkdeep

I can see the Size and Theme drop down menus. See the below screenshot:

CardKit Screenshot

Can you take a look in your developer console and report any messages? Also, which browser / OS are you using?

chrishutchinson avatar Jun 15 '15 11:06 chrishutchinson

cardkit Hi Chris, Just tried in Chrome (On Ubuntu 15.04). It's working. Previously I was using Firefox 38. Also I tested the link on windows machine. On chrome it's NOT working and on Firefox it's working. Seems like a bug.

kkdeep avatar Jun 15 '15 12:06 kkdeep

Cool - thanks for flagging, I'll formally log it and look to fix it soon

chrishutchinson avatar Jun 15 '15 12:06 chrishutchinson