/s3notes

A Node app for writing notes to an S3 compatible service.

Primary LanguageCSSMIT LicenseMIT

S3 Notes

This is a simple static webpage that, if published through S3, should allow a user to enter credentials and publish back to the S3 bucket.

In this way, a user could have a easily publishable site on an S3 compliant service such as IBM Cloud Object Store for free or host their own with Minio.

Development

Testing Reading and Writing Files

Start a Min.io docker container to host the application.

docker run -p 9000:9000 -e MINIO_ACCESS_KEY=minioadmin \
                        -e MINIO_SECRET_KEY=minioadmin \
                        -v `pwd`/data:/data minio/minio server /data

Now build and publish the application.

# Build the application to be served off of /data on the host.
VUE_PUBLIC_PATH=/data npm run build

# Now publish to the bucket that has the same name as the VUE_PUBLIC_PATH.
npm run publish -- -s minioadmin \
                   -i minioadmin \
                   -e http://localhost:9000 \
                   -b data

Normal Vue Development

npm run serve