mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 02:06:43 +00:00
Merge pull request #174 from Anarcroth/add-arch-install-instructions
Added Arch Linux installation instructions in README.md
This commit is contained in:
commit
40e7899cf6
31
README.md
31
README.md
@ -4,16 +4,33 @@ In its current state, players can walk around the game universe and collect Biom
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
Wiki: [GitHub](https://github.com/simon987/Much-Assembly-Required/wiki)
|
Wiki: [GitHub](https://github.com/simon987/Much-Assembly-Required/wiki)
|
||||||
Chat: [Slack](https://join.slack.com/t/muchassemblyrequired/shared_invite/enQtMjY3Mjc1OTUwNjEwLTkyOTIwOTA5OGY4MDVlMGI4NzM5YzlhMWJiMGY1OWE2NjUxODQ1NWQ1YTcxMTA1NGZkYzNjYzMyM2E1ODdmNzg)
|
Chat: [Slack](https://join.slack.com/t/muchassemblyrequired/shared_invite/enQtMjY3Mjc1OTUwNjEwLTkyOTIwOTA5OGY4MDVlMGI4NzM5YzlhMWJiMGY1OWE2NjUxODQ1NWQ1YTcxMTA1NGZkYzNjYzMyM2E1ODdmNzg)
|
||||||
|
|
||||||
# Deploying the server
|
# Deploying the server
|
||||||
|
|
||||||
## Linux (Ubuntu 16.04)
|
## Linux
|
||||||
|
|
||||||
|
**Installing tools**
|
||||||
|
|
||||||
|
On Ubuntu 16.04:
|
||||||
```bash
|
```bash
|
||||||
# Install tools
|
|
||||||
sudo apt install git maven openjdk-8-jdk mongodb
|
sudo apt install git maven openjdk-8-jdk mongodb
|
||||||
|
```
|
||||||
|
|
||||||
|
On Arch:
|
||||||
|
``` bash
|
||||||
|
sudo pacman -S git maven mongodb jdk8-opendjk
|
||||||
|
|
||||||
|
# Don't forget to start mongodb
|
||||||
|
sudo systemctl start mongodb.service
|
||||||
|
```
|
||||||
|
|
||||||
|
*If needed, visit [troubleshooting mongodb](https://wiki.archlinux.org/index.php/MongoDB#Troubleshooting).*
|
||||||
|
|
||||||
|
**Deploying server**
|
||||||
|
|
||||||
|
``` bash
|
||||||
# Obtain source files
|
# Obtain source files
|
||||||
git clone https://github.com/simon987/Much-Assembly-Required.git
|
git clone https://github.com/simon987/Much-Assembly-Required.git
|
||||||
|
|
||||||
@ -58,7 +75,7 @@ java -jar server-1.4a.jar
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
1. [Docker Compose](https://docs.docker.com/compose/install/#install-compose) (and dependencies)
|
1. [Docker Compose](https://docs.docker.com/compose/install/#install-compose) (and dependencies)
|
||||||
|
|
||||||
@ -74,7 +91,7 @@ Make sure to change `mongo_address` in `config.properties` to `mongodb`.
|
|||||||
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
### Requirements
|
### Requirements
|
||||||
1. [Vagrant](https://www.vagrantup.com/downloads.html)
|
1. [Vagrant](https://www.vagrantup.com/downloads.html)
|
||||||
2. [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
|
2. [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
|
||||||
|
|
||||||
@ -85,7 +102,7 @@ command inside this application's directory:
|
|||||||
|
|
||||||
`vagrant up`
|
`vagrant up`
|
||||||
|
|
||||||
# Running
|
# Running
|
||||||
|
|
||||||
Once the server is running, you should be able to connect to `http://localhost:4567` with your browser
|
Once the server is running, you should be able to connect to `http://localhost:4567` with your browser
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user