- Phoenix Web Development
- Brandon Richey
- 166字
- 2021-08-27 18:28:22
Installing Phoenix 1.3
For best results, you'll want to make sure you have the most recent version of Hex installed on your local machine. Again, the assumption here is that you already have Elixir installed on your computer:
$ mix local.hex
Found existing entry: /Users/brandon.richey/.mix/archives/hex-0.16.1
Are you sure you want to replace it with "https://repo.hex.pm/installs/1.5.0/hex-0.17.1.ez"? [Yn] y
* creating /Users/brandon.richey/.mix/archives/hex-0.17.1
Now we'll move on to installing Phoenix itself. Installing Phoenix is a little bit different from just installing something via a hex package on an existing Elixir project. You'll want to use Phoenix’s project generators to get your project up and running, as there is a lot of additional setups required compared to a small, standard Elixir project. This is why you need to go through a separate process to install Phoenix.
To install the Phoenix framework and get access to the Mix tasks needed to create new Phoenix projects, you'll want to run the following code:
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
* creating /Users/brandon.richey/.mix/archives/phx_new
- 解析QUIC/HTTP3:未來互聯(lián)網(wǎng)的基石
- 微商之道
- 自動駕駛網(wǎng)絡:自智時代的網(wǎng)絡架構(gòu)
- MERN Quick Start Guide
- 物聯(lián)網(wǎng)安全(原書第2版)
- 異構(gòu)基因共表達網(wǎng)絡的分析方法
- 重新定義Spring Cloud實戰(zhàn)
- 面向物聯(lián)網(wǎng)的嵌入式系統(tǒng)開發(fā):基于CC2530和STM32微處理器
- 物聯(lián)網(wǎng)長距離無線通信技術應用與開發(fā)
- 新媒體交互藝術
- RestKit for iOS
- 物聯(lián)網(wǎng)與智慧廣電
- 通信系統(tǒng)實戰(zhàn)筆記:無處不在的信號處理
- 無線傳感器網(wǎng)絡定位方法及應用
- 互聯(lián)網(wǎng)安全的40個智慧洞見(2018)