Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10 from spezzino/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
thibmaek authored Oct 29, 2018
2 parents 3092f03 + ee531f4 commit f9b6f8b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ Works best with a library file.
bash ./sketchtool.sh "MyFile.sketch" "/var/sketchxport/assets/images"
```

## Uploading to cloud

There are scripts to upload your files to AWS S3 and to Google Cloud.
It is assumed that you have [aws-cli](https://aws.amazon.com/cli/) or [gsutil](https://cloud.google.com/storage/docs/gsutil) cli already installed and configured.

Each script takes 3 arguments
1) Assets output folder
2) Configuration output folder
3) Bucket name

You can configure this service by adding one of these lines to `sketchxport.sh`

`upload_to_gcloud "$ASSETS_OUTPUT_DIR" "$CONFIG_OUTPUT_DIR" "$1"`

`upload_to_s3 "$ASSETS_OUTPUT_DIR" "$CONFIG_OUTPUT_DIR" "$1"`

# Integrations

## Importing into a project
Expand Down

0 comments on commit f9b6f8b

Please sign in to comment.