-
Notifications
You must be signed in to change notification settings - Fork 67
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
Setup local dev environment #10
Comments
Hey @OGoodness, can you please give an example of what kind of issues you're running into? |
@farshed Granted, this is kind of a user issue, but I was hoping that you could add something to the readme on how to set up the system locally. Whether that is a simple "Just npm install and run an emulator" |
Also, some info on what private.js should be, because that's another issue I had |
Sorry, just realized that was a dumb question |
@OGoodness It should be able to run in an android emulator/device after a simple private.js contains a single function called translateApiUrl that takes three arguments:
It returns a url that can then be pinged to get a translation back. I'm thinking about making it visible in the repo but I'm not sure since it could lead to abuse if everyone found out. |
@farshed |
@farshed, out of curiosity, soes this private.js contains the API url/key to the Google Translate API? @OGoodness, if you haven't set up the dev environment yet, this tutorial from RN's is quite good, I went through it just a week ago: https://reactnative.dev/docs/environment-setup |
@rafaelsaback yes that's right |
@rafaelsaback |
I think if we setup a mock rest api , we would develop easily without worry about prod url or api key then i develop a code and i sent a pr #16 . if you accept pr, you could add constant/private to git, then you hide url on .env.prod file. we can use without compile error. BTW I wish i develop a reader with built-in dictionary feature (with large amount of language support like google translate) so i am happy because i found this repo. there is a lot of pdf reader but i cant found turish dictionary. i hate switct reader to dictionary, over and over |
I was wondering if there was a readme or some documentation on how to set this application up locally so that others can extend upon it.
I've run into several issues due to missing dependencies
The text was updated successfully, but these errors were encountered: