5
6

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 5 years have passed since last update.

ロリポップでLaravelのプロジェクトを公開

Last updated at Posted at 2018-05-24

ロリポップでDBを作成しておく

ロリポップにssh接続
$ cd
$ git clone myProject
$cd web
$ ln -s /home/users/1/ユーザー名/myProject/public/ myProject
$ chmod -R 777 ~/myProject/public/
$ cd myProject
$ /usr/local/php7.1/bin/php ~/web/composer.phar install
$ vi .env
DB_HOST=ホスト名
DB_DATABASE=作成したDB名
DB_USERNAME=作成したDBのユーザー名
DB_PASSWORD=作成したDBのパスワード

$ /usr/local/php7.1/bin/php artisan key:generate
$ /usr/local/php7.1/bin/php artisan migrate:refresh --seed

独自ドメイン取得後
ロリポップ側
php設定でバージョンを7系に

5
6
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
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?