1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntu20.10でPhoenixを動かしてみた

Last updated at Posted at 2021-01-26

まずは、簡単なレベルで良いので動かしたい。
今回はDBは構築しない前提です。
##aptコマンドで必要なパッケージをインストール

$ sudo apt update
$ sudo apt install -y erlang elixir inotify-tools nodejs npm

##Phoenixをインストール

$ mix archive.install hex phx_new 1.4.17

インストールはこれで完了です。

#Phoenixを動かしてみる

$ mix phx.new hoge --no-ecto --no-webpack
$ cd hoge
$ mix phx.server

##ブラウザで動作確認
http://localhost:4000/
にアクセスします。
Screenshot 2021-01-26 at 10.41.57.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?