Skip to content

Commit

Permalink
make more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
karyeet authored Mar 30, 2022
1 parent c906682 commit 099a243
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ This branch will automatically download the latest Lavalink jar file.
* ### *heroku-lavalink can now visit itself every 20 minutes (instead of uptimerobot)*
*set APP_NAME in config vars to your heroku application's name to enable, you only need this for the free tier*

### One Click Deploy:
## One Click Deploy:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/KareemRS/heroku-lavalink/tree/auto) <-- Click me!

Buildpacks should be added automatically, you may modify the `PASS` variable during setup to change the password.

### Github Deploy:
## Github Deploy:
1. Create a fork of this repo
2. Navigate to your heroku project @dashboard.heroku.com
3. Navigate to your project *"Settings"*, click *"Reaveal Config Vars"*, and create a new var called *PASS* and set it to what you want your lavalink password to be.
Expand All @@ -26,15 +26,15 @@ Buildpacks should be added automatically, you may modify the `PASS` variable dur
9. Click *"Connect"*
10. Scroll down and find *"Manual Deploy"*, then switch the branch to auto and *"Deploy Branch"*.

### Heroku CLI Deploy:
## Heroku CLI Deploy:
1. Download files (Clone or download->Download ZIP).
2. Extract files into an empty directory.
3. Follow https://devcenter.heroku.com/articles/git.
If heroku is unable to automatically configure buildpacks, go to your projects settings on the heroku website and add java and nodejs.
4. Go to your project settings->config vars on heroku and set a new var called PASS to what you want your lavalink password to be.
5. In the same menu, set a new var called JAVA_TOOL_OPTIONS and set it to "-XX:+UseContainerSupport -Xmx500m -Xss256k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8" without the "" , this will set ram to max on a free dyno
6. In the same menu, create a var called APP_NAME and set it to your heroku applications name.

##
**Notes:**
1. After changing PASS you must redeploy or click the More menu and *restart all dynos*.
2. If heroku is unable to automatically configure buildpacks, go to your projects settings on the heroku website and add java and nodejs.
Expand Down

0 comments on commit 099a243

Please sign in to comment.