Log in

install and example help

  • 17 Apr '15

Followed the install here: https://github.com/nitely/Spirit/tree/master/example

Its not quite right. I found that I had to perform "export SECRET_KEY="My dev box"" before the migration command would work.

Now when I run I get the following stack trace: http://dpaste.com/098756D

Hoping to get a little advice.

--chuck

nitelyEsteban Castro Borsani
  • 4
  • 17 Apr '15

I found that I had to perform "export SECRET_KEY="My dev box"" before the migration command would work.

Thanks!, I will fix it.

Now when I run I get the following stack trace: http://dpaste.com/098756D

Try:

$ python manage.py migrate --settings=project.settings.dev
$ python manage.py runserver --settings=project.settings.dev

It'll run with the developer settings. Don't do that in production.

Let me know if works.

Edit: I just made some changes, now it will run the dev box by default, no need to export SECRET_KEY or anything else. If you run the example steps all over again (including the clone or you may pull the changes), it should work this time.

Tao
  • 19 Sep

Hello Esteban.

The example expired?

Best.

nitelyEsteban Castro Borsani
  • 20 Sep

Yes. That was the old and awful way of installing spirit. The installation guide is the replacement for it.

Reply