mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update instructions in html note & welcome msg
This commit is contained in:
24
public/notes/update.html
Normal file
24
public/notes/update.html
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>SillyTavern Guidebook</title>
|
||||||
|
<link rel="stylesheet" href="/css/notes.css">
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link href="/webfonts/NotoSans/stylesheet.css" rel="stylesheet">
|
||||||
|
<script src="/scripts/showdown.min.js"></script>
|
||||||
|
<script src="/scripts/showdown-toc.min.js"></script>
|
||||||
|
<script src="/scripts/notes.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onload="loadNotes('/notes/update.md')">
|
||||||
|
<div id="main">
|
||||||
|
<div id="content">
|
||||||
|
<!-- To change the guidebook content edit the content.md file -->
|
||||||
|
<!-- Then it will be dynamically inserted here -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
59
public/notes/update.md
Normal file
59
public/notes/update.md
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# How to Update SillyTavern
|
||||||
|
|
||||||
|
(This file is also present in plain text form inside SillyTavern's base install folder)
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
## Linux/Termux
|
||||||
|
|
||||||
|
You definitely installed via git, so just 'git pull' inside the SillyTavern directory.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
## Windows/MacOS
|
||||||
|
|
||||||
|
### Method 1 - GIT
|
||||||
|
|
||||||
|
We always recommend users install using 'git'. Here's why:
|
||||||
|
|
||||||
|
When you have installed via 'git clone', all you have to do to update is type 'git pull' in a command line in the ST folder.
|
||||||
|
The updates are applied automatically and safely.
|
||||||
|
|
||||||
|
### Method 2 - ZIP
|
||||||
|
|
||||||
|
If you insist on installing via a zip, here is the tedious process for doing the update:
|
||||||
|
|
||||||
|
1. Download the new release zip.
|
||||||
|
2. Unzip it into a folder OUTSIDE of your current ST installation.
|
||||||
|
3. Do the usual setup procedure with start.bat to install NodeJS requirements.
|
||||||
|
|
||||||
|
4. Copy the following files/folders as necessary(*) from your old ST installation:
|
||||||
|
|
||||||
|
(*) 'As necessary' = "If you made any custom content related to those folders".
|
||||||
|
None of the folders are mandatory, so only copy what you need.
|
||||||
|
|
||||||
|
#### NB: DO NOT COPY THE ENTIRE /PUBLIC/ FOLDER
|
||||||
|
|
||||||
|
Doing so could break the new install and prevent new features from being present.
|
||||||
|
|
||||||
|
```plaintext
|
||||||
|
Backgrounds
|
||||||
|
Characters
|
||||||
|
Chats
|
||||||
|
Groups
|
||||||
|
Group chats
|
||||||
|
KoboldAI Settings
|
||||||
|
NovelAI Settings
|
||||||
|
OpenAI Settings
|
||||||
|
TextGen Settings (textgen = ooba)
|
||||||
|
Themes
|
||||||
|
User Avatars
|
||||||
|
Worlds
|
||||||
|
settings.json
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Once those folders/files are copied, Paste them into the /Public/ folder of the new install.
|
||||||
|
|
||||||
|
6. Run start.bat once again, and pray you got it right.
|
||||||
|
|
||||||
|
7. If everything shows up, you can safely delete the old ST folder.
|
@@ -284,6 +284,8 @@ const system_messages = {
|
|||||||
is_name: true,
|
is_name: true,
|
||||||
mes: [
|
mes: [
|
||||||
'<h2>Welcome to SillyTavern!</h2>',
|
'<h2>Welcome to SillyTavern!</h2>',
|
||||||
|
'<h3>Want to Update to the latest version?</h3>',
|
||||||
|
"Read the <a href='/notes/update.html' target='_blank'>instructions here</a>. Also located in your installation's base folder",
|
||||||
'<h3>In order to begin chatting:</h3>',
|
'<h3>In order to begin chatting:</h3>',
|
||||||
'<ol>',
|
'<ol>',
|
||||||
'<li>Connect to one of the supported generation APIs (the plug icon)</li>',
|
'<li>Connect to one of the supported generation APIs (the plug icon)</li>',
|
||||||
|
Reference in New Issue
Block a user