0
2

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.

FuelPHPインストール

Last updated at Posted at 2021-03-14

MacOS,MAMPを利用前提。
MAMPのインストール方法

コマンドラインからのインストール

oilをインストールする。

$ curl https://get.fuelphp.com/oil | sh 

管理パスワードを聞かれるので、入力する。

ルートディレクトリで、早速oilコマンドを使ってプロジェクトを作成する。
初oil。

$ mkdir work
$ cd work
$ oil create myproject
composer create-project fuel/fuel myproject
Creating a "fuel/fuel" project at "./myproject"
Installing fuel/fuel (1.8.2)
:
:
:
31 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
3 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

ApacheからインストールしたFuelPHPにアクセスできるようドキュメントルートにシンボリック設定する。

$ cd /Applications/MAMP/htdocs
$ ln -s ~/work/myproject/public myproject

完了後、http://localhost/myprojectにアクセスし、下記画面が表示されればインストール完了。
image.png

参考

0
2
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
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?