update readme
This commit is contained in:
parent
b9cbfef9be
commit
3e0fc4fd53
@ -15,7 +15,7 @@ This PHP script allows you to easily upload ShareX screenshots and videos. It in
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Copy the `docker-compose.yml` file to your server.
|
1. Copy the `docker-compose.yml` file to your server.
|
||||||
2. Edit the `docker-compose.yml` file and change `MAX_UPLOAD_SIZE` to the maximum file size you want to allow, and update `./uploads` to where you want to store the files.
|
2. Edit the `docker-compose.yml` file and change environment variables to what you need, and update `./uploads` to where you want to store the files.
|
||||||
3. Run `docker-compose up -d` to start the container.
|
3. Run `docker-compose up -d` to start the container.
|
||||||
4. Go to where the files are stored and edit the variables in `upload.php` to your liking.
|
4. Go to where the files are stored and edit the variables in `upload.php` to your liking.
|
||||||
5. Run `docker-compose restart` to restart the container.
|
5. Run `docker-compose restart` to restart the container.
|
||||||
@ -42,8 +42,7 @@ This installation method is not recommended as I cannot provide instructions for
|
|||||||
1. Open ShareX and go to Destinations > Custom Uploader Settings.
|
1. Open ShareX and go to Destinations > Custom Uploader Settings.
|
||||||
2. Click on Import > From URL and enter `https://git.fascinated.cc/Fascinated/sharex-php-uploader/raw/branch/master/sharex.sxcu`.
|
2. Click on Import > From URL and enter `https://git.fascinated.cc/Fascinated/sharex-php-uploader/raw/branch/master/sharex.sxcu`.
|
||||||
3. Edit the URL to your website's URL.
|
3. Edit the URL to your website's URL.
|
||||||
4. Edit the secret to the secret you set in either the enviornment variable or in the script.
|
4. Click on Test after you've edited the URL and it should return a URL. If it doesn't, check your settings or contact me.
|
||||||
5. Click on Test after you've edited the URL and it should return a URL. If it doesn't, check your settings or contact me.
|
|
||||||
|
|
||||||
## Need Help?
|
## Need Help?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user