manfontan / cuny_ctp_2017

Apache License 2.0
0 stars 0 forks source link

Deploy tapiriik locally #4

Open manfontan opened 7 years ago

manfontan commented 7 years ago

1.Follow the steps on the wiki to deploy the app locally using vagrant. 2.Get the API key token for the apps you want to work with. (Strava, RidewithGPS, Dropbox...) 3.Update your config file to use the Auth Tokens 4.Run Tests locally (A nice way to figure out what is going on is looking into Travis CI if you are not familiar with Travis don't hesitate to contact me)

There is a lot of room for improvement in the tests. About getting the auth token, some apps like Runkeeper do not allow new applications at the moment, contact them requesting an auth token for development purposes.(I sent an email to runkeeper support with you in bcc)

sanghooon commented 7 years ago

Hello, I used vagrant ssh and I am in the Vagrant machine, however I don't see any files within /home/vagrant directory. I can't find the manage.py file or any other files in vagrant directory. Thank you in advance.

Sanghoon@Han MINGW64 ~/ctp/tapiriik (master) $ vagrant ssh Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-103-generic x86_64)

Last login: Mon Mar 13 15:56:15 2017 from 10.0.2.2 vagrant@vagrant:~$ ls vagrant@vagrant:~$

manfontan commented 7 years ago

@sanghooon Not sure what is causing the issue here.

You are running vagrant on Windows, with VirtualBox right?

It might be a filesystem permissions issue. Make sure vagrant has the right permissions to access the folder

You can try a workaround editing the Vagrant file to enable this section:

# Share an additional folder to the guest VM. The first argument is # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. Uncomment this ----> # config.vm.synced_folder "../data", "/vagrant_data"

Set the appropriate paths for the host and the guest. Then run vagrant up again.

Let me know if that helped

sanghooon commented 7 years ago

The issue was with the version of the Virtual Box. I updated it to the latest version and it works...

manfontan commented 7 years ago

@Raul-Alvarez @vkomendyak please confirm you are sorted so I can close this issue, or provide context so we can fix the issues.

manfontan commented 7 years ago

@sanghooon it would be nice if you could give some feedback on the tapiriik page with the issues you have had. My suggestion is to create an issue ex:'running tapiriik on windows: no shared folder found' and comment what your problem was and how did you fixed it.