Clebeuf / beLocal

Connecting local farmers and foodmakers with the community.
http://belocalvictoria.me
Other
4 stars 0 forks source link

Append api urls with /api/ #128

Closed sheoranjs24 closed 9 years ago

sheoranjs24 commented 9 years ago

Solves issue #101

For deployment:

If everything is working fine:

scottlow commented 9 years ago

@sheoranjs24 Sorry it took me so long to get to this! I've been pretty busy, and have just been picking away at protractor test cases when I have spare moments.

Since @CakeBrewery is our deployment person, I'll get him to look this over as well, but everything looks good

CakeBrewery commented 9 years ago

Noted. I can't go over it today but I will take a look. Thanks for doing this, it looks good

On Fri, Jan 2, 2015, 6:24 AM Scott Low notifications@github.com wrote:

@sheoranjs24 https://github.com/sheoranjs24 Sorry it took me so long to get to this! I've been pretty busy, and have just been picking away at protractor test cases when I have spare moments.

Since @CakeBrewery https://github.com/CakeBrewery is our deployment person, I'll get him to look this over as well, but everything looks good

— Reply to this email directly or view it on GitHub https://github.com/Clebeuf/beLocal/pull/128#issuecomment-68498757.

CakeBrewery commented 9 years ago

The symbolic link should be ln -s beLocal/bin/nginx.conf /etc/nginx/sites-enabled/beLocal.conf enable => enabled. (Note that the first path must be absolute on Linux machines)

Also, inside your nginx.conf you have various paths that are specific to your file organization that everyone using this Nginx configuration might want to change according to theirs.

The Nginx configuration seems to be good but I still have a TON of client-side and Django bugs that started occurring recently. I am not sure if these are specific to my machines and/or related to this branch but if it works with Scott's I think it should be ok.

sheoranjs24 commented 9 years ago

Thanks sam for pointing out the correct folder path. And yes one must make sure that the paths in nginx.conf file reflects the real paths in their system.