Skip to content
Discussion options

You must be logged in to vote

There's a note at the end of the ZIP file system module that explains what you are seeing:

Note: The zip command line tool creates a directory named "test" at the root of the ZIP file. For example, the file at "test/example.txt" is accessed in the ZIP file as "test/example.txt" not "example.txt".

You should be able to access the site at http://localhost/site/index.html using the ZIP file you built.

On macOS, you can recreate the original site.zip file this way:

  • In the site directory, Select All
  • Select File > Compress
  • Copy the Archive.zip that is created up one level to site.zip

That eliminates the "site" directory at the root of the ZIP. This process can be easily automated using a ba…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Frida854
Comment options

@phoddie
Comment options

Answer selected by Frida854
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants