gdg-x / hoverboard

Conference website template
https://hoverboard-master.web.app
Other
1.1k stars 1.08k forks source link

Partners and Team not showing when deployed #647

Closed umeklinks closed 4 years ago

umeklinks commented 5 years ago

I'm having issues when deployed the web app to Firebase. The partners logo and team members are not showing when I deployed to firebase but the Ticket is showing from contect from the firestore.

Meanwhile when I run it locally using npm start everything works perfectly.

I need help. I think I'm not getting somethings write. Attached are the screenshots.

partner team ticket

cortinico commented 5 years ago

Hey @umeklinks Can you provide a link to your repository and/or to your website?

Data for partners and teams is fetched for the Firestore. If they're not leaded the problem could be either:

Given that tickets are loaded properly, I assume you might have problem with the data. Have you populated your Firestare with the docs/default-firebase-data.json file?

umeklinks commented 5 years ago

Hey @cortinico thanks for your reply.

Here's my repository link https://github.com/umeklinks/gdgbonny-devfest and here's the link to the firebase deployed web app https://gdg-devfest-bonny.firebaseapp.com/

The firestore has partners in place of sponsors and I have team as well.

Please go through my repo for errors.

As for the docs/default-firebase-data.json I It has the default data.

Attached is a screenshot of my database. db

cortinico commented 5 years ago

Hey @umeklinks So you definitely have some configuration problems: https://github.com/umeklinks/gdgbonny-devfest/blob/231b388c02a57bc68a8cc18453dbdc8da89f12f0/config/production.json#L3

url should be the public URL of your website: https://gdg-devfest-bonny.firebaseapp.com/

Can you fix this configuration (in both development and production) and re-deploy please?

abraham commented 5 years ago

Another issues is you are loading an additional version of the Firebase SDK in index.html. They are already being loaded https://github.com/umeklinks/gdgbonny-devfest/blob/231b388c02a57bc68a8cc18453dbdc8da89f12f0/index.html#L96:L101

abraham commented 5 years ago

Make sure that each document in the items subcollection has a order key with a number value. The current DB query will only return results that have an order. https://github.com/umeklinks/gdgbonny-devfest/blob/2fda4c8b269bf09edec38d381d989ee53091cb25/scripts/redux/actions.js#L134

abraham commented 4 years ago

If you have any further issues please let us know.