Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: destination path 'py4web' already exists and is not an empty directory #3

Open
RichardBH opened this issue Sep 8, 2020 · 2 comments

Comments

@RichardBH
Copy link

RichardBH commented Sep 8, 2020

When I go to clone the git repo, it fails because there is already a folder called py4web which is where the bottle.py file exists form the previous step.

In a section further down you mention to change the project_home from '/home/your_username/mysite', therefore the first step when you set up the new bottle project may be to leave it as the default mysite?

https://github.com/tomcam/py4webcasts/blob/master/docs/how-install-source-pythonanywhere.md#update-your-wsgi-configuration-file

The problem then is that the bottle.py file wont exist in py4web as it will be in mysite.

But Vim or Nano will create a new blank one that you can copy the details into.
This worked well for me.

@tomcam
Copy link
Owner

tomcam commented Sep 18, 2020

Not sure I'm understanding this? Could not duplicate in my walk through the amended tutorial (thanks) today.

@RichardBH
Copy link
Author

I think by changing the order of git cloning first, this is no longer an issue. I will test again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants