This is an application that I use in my CI for my personal nwn projects.
This will ingest your nwsync files and upload them to a DigitalOcean Space.
- Latest Docker version
- Digital Ocean Spaces account created
- Access keys created for the above Digital Ocean Spaces account
You can find this on the Digital Ocean Official Documentation
You will need to update the env.list file with your Digital Ocean Space information. Table below assumes that your Digital Ocean Space URL is https://nwsync.nyc3.digitaloceanspaces.com/
Key | Value |
---|---|
Endpoint | Your space endpoint (i.e: nyc3.digitaloceanspaces.com) |
ACCESS_KEY | Your space access key |
SECRET_KEY | Your space secret key |
SPACE_NAME | Your space name (i.e: nwsync) |
MODULE_NAME | This is used to support handling multiple modules in one Space. The name can be anything with no spaces (i.e: demo-module) |
Once the file is updated with your Space, account information you will need to move all your nwsync generated files to the nwsync
folder on this project.
Once this is done, you will only need to run the script depending on your OS:
- If using Windows, use
uploadNWSync.bat
- If using Linxu, use
uploadNWSync.sh
After your uploads are complete, you might consider deleting the README.md
from your Digital Ocean Spaces, since this is not used by Nwsync