Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

First time running fab deploy, error on missing static folder #617

Closed
rmutter opened this Issue · 2 comments

2 participants

@rmutter

We just switched our stack over to run on nginx/gunicorn (yay) from apache/mod_wsgi (boo) and tried out launching a new django app using mezzanine's fabfile.

This worked without a hitch except for backing up the static folder in deploy() @ line 482. This was the first time running through this so there is no static folder created yet since collectstatic hasn't been run for the first time. I had to ssh into my server, run the command, then rerun fab deploy and everything worked great.

Should there be a check here if the folder exists before backing it up? or am I doing something wrong? If it's the former I'll gladly code up a fix to check for the static folder's existence.

@stephenmcd
Owner

I actually hit this as well the other day and just haven't gotten around to it.

Just a simple check for it existing sounds spot on - if you'd like to get it working and set up a pull request that would be awesome.

@stephenmcd
Owner

Fixed in 08d3493

@stephenmcd stephenmcd closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.