clone lila, setup mongo
parent
2cca63f99a
commit
57d7cc6f70
|
@ -587,13 +587,41 @@ Now we can actually install lila! See here:
|
|||
|
||||
* https://github.com/ornicar/lila
|
||||
|
||||
Install thusly:
|
||||
We'll install it in the Apache web tree.
|
||||
Install thusly on server as `debian` user.
|
||||
|
||||
```
|
||||
git clone --recursive https://github.com/ornicar/lila.git
|
||||
# Remove old directory
|
||||
rm -rf /var/www/html
|
||||
|
||||
# Go to web directory
|
||||
cd /var/www
|
||||
|
||||
# Clone the Lila git repository to the `html` directory
|
||||
git clone --recursive https://github.com/ornicar/lila.git html
|
||||
```
|
||||
|
||||
## Create MongoDB
|
||||
Create a new MongoDB database.
|
||||
|
||||
```
|
||||
# Go to new cloned dir
|
||||
cd /var/www/html
|
||||
|
||||
# Create MongoDB database indexes
|
||||
mongo lichess bin/mongodb/indexes.js
|
||||
```
|
||||
|
||||
Creating the MongoDB database should look something like this:
|
||||
|
||||
```
|
||||
debian@mychestserver:/var/www/html$ mongo lichess bin/mongodb/indexes.js
|
||||
MongoDB shell version v5.0.5
|
||||
connecting to: mongodb://127.0.0.1:27017/lichess?compressors=disabled&gssapiServiceName=mongodb
|
||||
Implicit session: session { "id" : UUID("7b35e8f2-528c-4136-8b8f-7e9e21200857") }
|
||||
MongoDB server version: 5.0.5
|
||||
```
|
||||
|
||||
|
||||
## Install lila-ws
|
||||
* https://github.com/ornicar/lila-ws
|
||||
|
|
Loading…
Reference in New Issue