Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ This error indicates your machine either doesn't have a JDK configured, or an in
Ensure that:
- `JAVA_HOME` is setup properly and you can run `java -version` successfully
- You have openJDK zulu 17 installed: https://www.azul.com/downloads/?package=jdk#zulu

### Docker not running

```zsh
return code: 1
stdout:
stderr:
Cannot connect to the Docker daemon at unix:///Users/username/.docker/run/docker.sock. Is the docker daemon running?
```

This indicates that, even if you have docker installed, it's not running. [Docker Desktop](https://docs.docker.com/desktop/)
is an easy way to use docker on your machine. After installation, make sure to double-click the app in Applications folder
(if on mac) so that it's running.
4 changes: 1 addition & 3 deletions src/datacustomcode/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,7 @@ def zip(
for file in files:
if file != ".DS_Store":
file_path = os.path.join(root, file)
# Preserve relative path structure in the zip file
arcname = os.path.relpath(file_path, directory)
zipf.write(file_path, arcname)
zipf.write(file_path)

logger.debug(f"Created zip file: {ZIP_FILE_NAME}")

Expand Down