Log in

Need some help with installing

  • 26 Feb

Hello

I need a little help by installing this great software on my website.
Just for information, I'm new to python so please don't judge me if I ask something stupid.

I installed python/Django and did all the steps below (from the example application) without any problems, but how do I install it on my hosting & link it to a mysql server?

$ git clone https://github.com/nitely/Spirit.git
$ cd Spirit
$ virtualenv venv
$ source ./venv/bin/activate
$ pip install .
$ cd example
$ python manage.py spiritinstall
$ python manage.py runserver

It would be great if someone can help me around with this.

Regards.

nitelyEsteban Castro Borsani
  • 26 Feb

but how do I install it on my hosting & link it to a mysql server?

What hosting provider is that? Do you have access to ssh?

  • 27 Feb

I use hostinger. For ssh acces I have to upgrade my account to premium (which I am not planning to do). Do you have any free alternatives?

nitelyEsteban Castro Borsani
  • 27 Feb

There are a few:

https://www.pythonanywhere.com
https://www.openshift.com/
https://www.heroku.com/

I think you don't need ssh for PythonAnywhere coz it supports python and django out of the box. It should be the easiest to setup.

There is a one-click deployment for Heroku[0], but the free plan has some limitations. For example it takes forever to spin a new instance once it becomes idle (i.s when no one enters the site after 30 minutes). Also the search and image uploading won't work.

Openshift is similar to heroku, but it becomes idle after 24hs instead of 30 minutes and there is a way to store files, so the search and image upload should work. I would have made a one-click deployment for it instead of heroku's, but I was not aware of it at the time.

No free solutions offer a lot of disk space so it's better to disable image uploading functionality (there is no way of doing this easily at the moment. It requires modifying the JS file).

[0] https://github.com/nitely/spirit-heroku

  • 27 Feb

Thanks, I will try PythonAnywhere first, if that doesn't work for me I can Always try Openshift.

This comment was deleted.
Reply