Skip to content
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

Not working locally #32

Open
pinguluk opened this issue Jun 3, 2022 · 1 comment
Open

Not working locally #32

pinguluk opened this issue Jun 3, 2022 · 1 comment

Comments

@pinguluk
Copy link

pinguluk commented Jun 3, 2022

API url is listed to "https://admin.healthimpactfund.org/translate/" and the "passwords.php" doesn't exist in php folder.
Also when changing API url to localhost, the php are not found (404)

@whyboris
Copy link
Owner

whyboris commented Jun 3, 2022

To have PHP work you'll need to serve it via a local PHP server. Wherever it's serving, you'll need to copy the contents of the php folder there. To test, you can place an index.php which does something like echo "hi" - and open your localhost to see.

You're right about passwords.php file being absent (which I git-ignored from the repository), sorry for the inconvenience; I could share a mock-password file instead so you could fill in your own info to get it to work. I think the file is simply a python dictionary with "user": "password" but I could check if you ask 🤝

I'd be happy to help you set things up to have it work 😁 -- let me know what questions you have going forward 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants