mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Completed work on instructions in README.md
This commit is contained in:
20
README.md
20
README.md
@@ -4,7 +4,14 @@
|
|||||||
|
|
||||||
#### Windows migration instructions
|
#### Windows migration instructions
|
||||||
|
|
||||||
###### TODO
|
⚠ Run your NadekoBot Updater first, and make sure your bot is updated to at least 2.46.5
|
||||||
|
1. Get the new NadekoBot Updater [here](https://dl.nadeko.bot)
|
||||||
|
2. Click on the + icon to add a new bot
|
||||||
|
3. Next to the path, click on the folder icon and select the folder where your 2.46.5 bot is
|
||||||
|
- ℹ In case you're not sure where it's located, you can open your old updater and see it
|
||||||
|
4. If you've selected the correct path, you should have an **Update** button available, click it
|
||||||
|
5. You're done, you can now run your bot, and you can uninstall your old updater if you no longer have 2.x bots
|
||||||
|
6. 🎉
|
||||||
|
|
||||||
#### Linux migration instructions
|
#### Linux migration instructions
|
||||||
|
|
||||||
@@ -82,19 +89,20 @@ Open PowerShell (press windows button on your keyboard and type powershell, it s
|
|||||||
7. Run the bot `dotnet NadekoBot.dll`
|
7. Run the bot `dotnet NadekoBot.dll`
|
||||||
8. 🎉
|
8. 🎉
|
||||||
|
|
||||||
##### Update Instructions (todo: WIP)
|
##### Update Instructions
|
||||||
|
|
||||||
Open powershell and run following commands:
|
Open powershell and run following commands:
|
||||||
|
|
||||||
1. Navigate to your bot's folder, for example `cd ~/Desktop/nadekobot`
|
1. Navigate to your bot's folder, for example `cd ~/Desktop/nadekobot/src/NadekoBot`
|
||||||
2. Pull the latest updates (this will fail if you have custom code changes).
|
2. Pull the latest updates (this will fail if you have custom code changes).
|
||||||
- If you don't have custom code changes, just run `git pull`
|
- If you don't have custom code changes, just run `git pull`
|
||||||
- If you do have custom code changes (changes to .cs files) You have 3 options
|
- If you do have custom code changes, You have 3 options
|
||||||
- Undo all changes with `git checkout -- * && git pull`
|
- Undo all changes with `git checkout -- * && git pull`
|
||||||
- Stash changes and try to re-apply them `git stash && git pull && git stash apply`
|
- Stash changes and try to re-apply them `git stash && git pull && git stash apply`
|
||||||
- Commit your changes and resolve merge conflicts `git add . && git commit -m "My commit message" && git pull`
|
- Commit your changes and resolve merge conflicts `git add . && git commit -m "My commit message" && git pull`
|
||||||
3. Re-build the bot `dotnet publish -c Release -o output/ src/NadekoBot/`
|
3. Re-run the bot `dotnet run -c Release`
|
||||||
4. Run the bot `cd output && dotnet NadekoBot.dll`
|
|
||||||
|
⚠ You're expected to understand that your database will be in bin/Release/<framework>/data/, and that if framework gets changed in the future, you will have to move your database manually
|
||||||
|
|
||||||
#### Music prerequisites
|
#### Music prerequisites
|
||||||
In order to use music commands, you need ffmpeg and youtube-dl installed.
|
In order to use music commands, you need ffmpeg and youtube-dl installed.
|
||||||
|
Reference in New Issue
Block a user