V-Sekai / uro

Provides functionality needed to run your V-Sekai backend. It will serve custom game content, support content caching, and provide a user authentication system
https://v-sekai.org
MIT License
7 stars 3 forks source link

Write instructions how to start #98

Open fire opened 1 month ago

fire commented 1 month ago

Context and Problem Statement

Starting Uro development on linux, mac, and windows is hard.

Write a setup guide.

Describe the proposed option and how it helps to overcome the problem or limitation

Work in Progress.

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.3
# Add the following to ~/.bashrc:
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"
source ~/.bashrc
sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf install erlang 27.0.1
asdf global erlang 27.0.1
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf install elixir 1.17
asdf global elixir 1.17
sudo apt-get install linux-headers-$(uname -r) build-essential libssl-dev \
libreadline-dev zlib1g-dev libcurl4-openssl-dev uuid-dev icu-devtools libicu-dev
asdf plugin-add postgres https://github.com/smashedtoatoms/asdf-postgres
asdf install postgres 14.12
asdf global postgres 14.12
git clone https://github.com/eahanson/db-scripts /usr/local/bin/db-scripts
cd /usr/local/bin
sudo cp /usr/local/bin/db-scripts/db-* .
cd ~/Documents/uro
db-start
# follow prompt to init postgresql.
psql -U $USER -d postgres
fire commented 1 month ago
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.3
# Add the following to ~/.bashrc:
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"
source ~/.bashrc
sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk

asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf install erlang 1.9.1
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf install elixir 1.17
sudo apt-get install linux-headers-$(uname -r) build-essential libssl-dev \
libreadline-dev zlib1g-dev libcurl4-openssl-dev uuid-dev icu-devtools libicu-dev
asdf plugin-add postgresql https://github.com/smashedtoatoms/asdf-postgres
asdf install postgresql 14.12