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

Please Help. #1

Open
Coherent5845 opened this issue Apr 11, 2017 · 4 comments
Open

Please Help. #1

Coherent5845 opened this issue Apr 11, 2017 · 4 comments

Comments

@Coherent5845
Copy link

Hey can you please tell me how can i add my mega account detail to the scrip so that i can also upload files to mega.

@prashanthca
Copy link
Owner

I see you've already added the login credentials in the mega.json file of your fork. This is the file which is used by the application to access MEGA. One small piece of request: Purge mega.json, .megacmd.json, account.js and megamail.py from your fork. I had accidentally checked these files in and they contain some sensitive information.

To do this, use the following commands:

cd syncer
git rm --cached mega.json
git rm --cached .megacmd.json
git rm --cached megamail.py
git rm --cached account.js
git commit --amend -CHEAD
git push -f

Once the push is complete, you can re-create mega.json with the following contents:
{ "accounts": [ { "username": "username", "password": "password", "name": "Account 1" } ] }
And then, run this command:
echo "mega.json" >> .gitignore

This is very important as this will retain the mega.json in your working directory, but will not check it into github.

@Coherent5845
Copy link
Author

@prashanthca will it work for heroku cause i have deployed it on heroku.

@prashanthca
Copy link
Owner

Yes. It will work on heroku. By the way, did you remove the files I've mentioned in my previous comment from your fork?

@Coherent5845
Copy link
Author

Coherent5845 commented Apr 29, 2017

Can you please tell me how can i deploy it to arukas/docker.
And please if possible then please make video of "How to add mega credits to the code" for deploying to heroku, i had tried but failed.

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