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

Testing site before uploading #275

Open
geomblog opened this issue Oct 14, 2017 · 2 comments
Open

Testing site before uploading #275

geomblog opened this issue Oct 14, 2017 · 2 comments

Comments

@geomblog
Copy link

geomblog commented Oct 14, 2017

I'm using the patch to allow hosting a site from a non-root location (by adding vars to config.json). But now that I've done this, I can no longer do local testing, because URLs that used to be '/static/...' are now 'base_path/static/...' and so I can't test locally using cactus serve. Is there a work around I can use?

@nathan-artist
Copy link

nathan-artist commented Oct 16, 2017

@geomblog I have never used the patch you mentioned, and I don't know anything about it, but you could do something similar to the workaround that I reported in issue 273: First, remove the patch so that you can test locally using cactus serve. Then set up a test Amazon S3 bucket to which you can deploy. Then deploy to that test Amazon S3 bucket. Then use a separate client app (I use Cyberduck) to upload the contents of the local .deploy folder to whichever non-root location you want to use.

See also kamalx's comment in issue 246.

@geomblog
Copy link
Author

Thanks. Yes, that comment from 246 might be a useful workaround. The one involving S3 seems a little more involved (not to mention that I'd have to create an S3 bucket first).

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