Browse Source

Updated to version 1.2.1

master
Koyu Berteon 2 years ago
parent
commit
abf15a7013
No account linked to committer's email address
4 changed files with 7 additions and 4207 deletions
  1. 3
    2
      README.md
  2. 0
    4203
      bottle.py
  3. 2
    0
      requirements.txt
  4. 2
    2
      start.py

+ 3
- 2
README.md View File

@@ -18,11 +18,12 @@ Download Python 2 or 3 and then download the ZIP file or clone this repository.

### Linux

Just run these three commands for a successful server setup:
Just run these four commands for a successful server setup:

```
git clone https://github.com/yggdrasilfs/server.git
cd server
sudo pip -r requirements.txt
sudo python start.py
```

@@ -30,7 +31,7 @@ If you get error messages, you can read the crash log. Mostly it's just a false

### macOS

Just download [Git](https://git-scm.com/) for Mac and then run the same commands like on the Linux section
Just download [Git](https://git-scm.com/) for Mac, install PIP and then run the same commands like on the Linux section

### It still doesn't work?


+ 0
- 4203
bottle.py
File diff suppressed because it is too large
View File


+ 2
- 0
requirements.txt View File

@@ -0,0 +1,2 @@
bottle
tornado

+ 2
- 2
start.py View File

@@ -35,7 +35,7 @@ def motd():
return recode(x)
@route("/news")
def alive():
def news():
os.chdir(cwd)
f = open("news.txt", "r")
x = f.read()
@@ -155,4 +155,4 @@ def stream():
def index():
return "This is a Yggdrasil server. Please use the <a href=\"http://yggdrasil.96.lt/\">client software</a> in order to interact with the server."
run(host="0.0.0.0", port=82)
run(server="tornado", host="0.0.0.0", port=82)

Loading…
Cancel
Save