I think you need to set the REPO_URL, otherwise it has no way to get the
project onto the remote server.


On Thu, Apr 10, 2014 at 11:22 AM, Kyle Pennell <kpenn...@gmail.com> wrote:

> Getting closer with deploying by using Fabric.  I think my problem is the
> PROJECT_NAME.
>
> Getting this error after putting Fab All (other things seem to work now):
>
>
> $ hg clone  /mezzanine_app/project ->
>
> [107.170.215.138] out: abort: repository /mezzanine_app/project not found!
>
> Fatal error: run() encountered an error (return code 255) while executing
>> 'hg clone  /mezzanine_app/project'
>
>
> Repository not found...hmmmmm
>
> I guess I don't understand why it keeps tacking on my PROJECT_NAME +
> Project to the file path.
>
> Printing the working directory (where manage.py and local_settings are)
> gives me : /opt/mezzanine_env/mezzanine_app
>
> What should I be putting in PROJECT_NAME instead?  How can I let FABRIC
> find the repository?  Any clues where I might be going wrong?
>
>
> My FABRIC Settings:
>
>
> *FABRIC = {*
>
> *     "SSH_USER": "kpennell", # SSH username*
>
> *     "SSH_PASS":  "pass", # SSH password (consider key-based auth$*
>
> *     "SSH_KEY_PATH":  "/root/.ssh/id_rsa.pub", # Local path to SSH ke$*
>
> *     "HOSTS": ["107.170.215.138"], # List of hosts to deploy to*
>
> *     "VIRTUALENV_HOME":  "", # Absolute remote path for virtualenvs
>>            (I assumed I could leave this blank)*
>
> *     "PROJECT_NAME": "mezzanine_app", # Unique identifier for project
>>     (this is the folder where my mezzanine stuff is)*
>
> *     "REQUIREMENTS_PATH": "requirements.txt", # Path to pip requireme$*
>
> *     "GUNICORN_PORT": 8000, # Port gunicorn will listen on*
>
> *     "LOCALE": "en_US.UTF-8", # Should end with ".UTF-8"*
>
> *     "LIVE_HOSTNAME": "www.ahalearning.co <http://www.ahalearning.co>", #
>> Host for public site.*
>
> *     "REPO_URL": "", # Git or Mercurial remote repo URL for the proje$
>>     Can this be blank?*
>
> *     "DB_PASS": "pass", # Live database password*
>
> *     "ADMIN_PASS": "pass", # Live admin user password*
>
> * }*
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to