-
Notifications
You must be signed in to change notification settings - Fork 189
Running Locally for Development
You'll learn how to run Magnetssimo locally for development.
Magnetissimo runs on Elixir and Phoenix Framework. We save all torrent information to a local SQLite file. The project is extremely easy to run locally, no strange onboarding necessary.
We use the .tool-versions
files and asdf to install the right language versions.
Run asdf install
.
Run mix deps.get
.
Run mix ecto.reset
.
Run iex -S mix phx.server
.
You can now access Magnetissimo at https://localhost:4000
We use the .tool-versions
files and asdf to install the right language versions.
Run asdf install
.
Run mix deps.get
.
Run mix ecto.reset
.
Run iex -S mix phx.server
.
You can now access Magnetissimo at https://localhost:4000
Help needed to write this part
.
Run sudo yum install epel-release wget vim screen make git -y
to install deps.
Install Node:
curl --sL https://rpm.nodesource.com/setup_6.x | bash -
sudo yum install -y nodejs
Install Erlang and Elixir by following this guide:
http://www.jeramysingleton.com/install-erlang-and-elixir-on-centos-7-minimal/
Update sources:
sudo yum update -y && yum upgrade -y
Run mix deps.get
.
Run mix ecto.reset
.
Run iex -S mix phx.server
.
You can now access Magnetissimo at https://localhost:4000
Install Erlang and Elixir:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
Then update the sources and download the required packages:
sudo apt-get update
sudo apt-get install postgresql nodejs esl-erlang elixir git screen
Run mix deps.get
.
Run mix ecto.reset
.
Run iex -S mix phx.server
.
You can now access Magnetissimo at https://localhost:4000