Comments (12)
I'm not sure what do you mean by "try to upload this code on my website", can you provide some more details?
To use the app – clone the expense sheet, visit: https://mitul45.github.io/expense-manager/, and log in with your Google account.
from expense-manager.
I'm trying to host this repository on my website. Just for personal use. So what I've done to host this repo on my site.
- I just cloned this repo.
- changed the CLIENT_ID from init.js and put my own Google Sheets client ID
No login button appears. Just showing loading gif
I just wanna know that can i host this (https://mitul45.github.io/expense-manager/)[https://mitul45.github.io/expense-manager/] on my website too ?
from expense-manager.
Ideally, that should be sufficient, are you getting any errors on the console?
from expense-manager.
i think problem is here.
from expense-manager.
from expense-manager.
Did you find a solution to this? @nk932714
I'm having the same issue:
It shows not a valid origin:
{
error: "idpiframe_initialization_failed",
details: "Not a valid origin for the client: https://wasi001…itelist this origin for your project's client ID."
}
from expense-manager.
nope i haven't find any solution for this. @wasi0013
from expense-manager.
What's the command to build the project? Where is the output to upload on my host?
I changed CLIENT_ID in init.js and start index.html, but I've the same issue of others users.
from expense-manager.
Hey everyone, sorry for the long delay in response.
So as I understand, you want to deploy this to some other static server, right? It should be doable by just copying everything from here and changing the CLIENT_ID in init.js
. There is no build step it's all vanilla HTML/JS/CSS.
@nk932714 where did you get CLIENT_ID from? Also, note – it's not same as the Sheet ID.
from expense-manager.
@mitul45 It's ok, it's working
@wasi0013 have you add your hosting site in your allowed list for your project? You can do in google developer console. Also remember to add API to google Drive
from expense-manager.
- Can you please explain about CLIENT_ID, Where i can get that if it is not Sheet ID
- Where to add API to Google Drive ?
- What do you mean - "add your hosting site in your allowed list for your project"
from expense-manager.
- You can find CLIENT_ID in your google developer console. After creating a project, on the credential panel, you can take a new client id (LINK)
-
At the same place, in your google developer console. On the API & service tab, you can add a Google Sheets API and Google Drive API.
-
You can use Github or your custom domain as a hosting for your web site, so you need to add a new whished domain. (LINK)
let me know if I can help you
from expense-manager.
Related Issues (18)
- Decimals support?
- Recurring payments HOT 1
- Offline support HOT 3
- Monthly records template (Google Sheets) HOT 3
- Date overlays the label in Chrome (Bug) HOT 4
- Add support for amount transfers between accounts
- Icon for Home Screen HOT 1
- How to make collaborative? HOT 2
- Unable to login "app not validated by Google" HOT 16
- Instruction to host on personal Server HOT 1
- Doesn't work on Firefox 53
- Demo doesn't work Android phone HOT 4
- Errors on iphone 5s safari ios10.3.1 HOT 2
- Update service worker to refresh JS, CSS changes
- Doesn't work with iPhone 7+ with 10.3.2 beta3 HOT 1
- Set today's date by default in date picker
- Offer to create stylesheet HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expense-manager.