[Laravel学習]gitとbitbucketでMacで開発したものをアップ(part4)
[Laravel学習]gitとbitbucketでMacで開発したものをアップ(part4)
前回、サーバの設定をして、ファイルがアップすることを確認できたので、FTPソフトでファイルを置くのではなくてgitで管理したファイルをbitbucketにアップして、それをサーバ側で取得してくるようにしようと思います。gitでアップしないファイルの設定もしたい。
※コードブロック内での、記号がエスケープされるのを修正する方法がわかりません。ご存じの方教えてもらえるとうれしいです。
[目次]
- ローカルにファイルを作成
- gitで管理
- bitbucketにデータを保存
- サーバにアップされることを確認
ローカルにファイルを作成してgitで管理
MacBook (Retina, 12-inch, Early 2015) MacOS High Sierraを使っています。で、開発用にiTerm2とATOMで開発してます。
[code lang=text]
$ /home/<username>/homepage/laravel/tanba-events
[/code]
以下にファイルをおいてそれをgitで管理しようと思います。
※フォルダを作ってindex.htmlを作って試そうかと思ったけど、わざわざ試して消して、またプロジェクトというのが、回りくどいのでプロジェクトを作ってしまいました。
[code lang=text]
$ laravel new tanba-events
Crafting application…
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 69 installs, 0 updates, 0 removals
– Installing doctrine/inflector (v1.2.0): Loading from cache
– Installing doctrine/lexer (v1.0.1): Loading from cache
– Installing erusev/parsedown (1.6.4): Loading from cache
– Installing vlucas/phpdotenv (v2.4.0): Loading from cache
– Installing symfony/css-selector (v3.4.1): Downloading (100%)
– Installing tijsverkoyen/css-to-inline-styles (2.2.0): Loading from cache
– Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
– Installing symfony/var-dumper (v3.4.1): Downloading (100%)
– Installing symfony/routing (v3.4.1): Downloading (100%)
– Installing symfony/process (v3.4.1): Loading from cache
– Installing paragonie/random_compat (v2.0.11): Loading from cache
– Installing symfony/polyfill-php70 (v1.6.0): Downloading (100%)
– Installing symfony/http-foundation (v3.4.1): Downloading (100%)
– Installing symfony/event-dispatcher (v3.4.1): Downloading (100%)
– Installing psr/log (1.0.2): Loading from cache
– Installing symfony/debug (v3.4.1): Downloading (100%)
– Installing symfony/http-kernel (v3.4.1): Downloading (100%)
– Installing symfony/finder (v3.4.1): Downloading (100%)
– Installing symfony/console (v3.4.1): Downloading (100%)
– Installing egulias/email-validator (2.1.3): Loading from cache
– Installing swiftmailer/swiftmailer (v6.0.2): Loading from cache
– Installing ramsey/uuid (3.7.1): Loading from cache
– Installing psr/simple-cache (1.0.0): Loading from cache
– Installing psr/container (1.0.0): Loading from cache
– Installing symfony/translation (v3.4.1): Downloading (100%)
– Installing nesbot/carbon (1.22.1): Loading from cache
– Installing mtdowling/cron-expression (v1.2.1): Loading from cache
– Installing monolog/monolog (1.23.0): Loading from cache
– Installing league/flysystem (1.0.41): Loading from cache
– Installing laravel/framework (v5.5.23): Downloading (100%)
– Installing fideloper/proxy (3.3.4): Loading from cache
– Installing jakub-onderka/php-console-color (0.1): Loading from cache
– Installing nikic/php-parser (v3.1.2): Loading from cache
– Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
– Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
– Installing psy/psysh (v0.8.15): Loading from cache
– Installing laravel/tinker (v1.0.2): Loading from cache
– Installing filp/whoops (2.1.14): Loading from cache
– Installing fzaninotto/faker (v1.7.1): Loading from cache
– Installing hamcrest/hamcrest-php (v2.0.0): Loading from cache
– Installing mockery/mockery (1.0): Loading from cache
– Installing webmozart/assert (1.2.0): Loading from cache
– Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
– Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
– Installing phpdocumentor/reflection-docblock (4.2.0): Loading from cache
– Installing phpunit/php-token-stream (2.0.2): Loading from cache
– Installing sebastian/version (2.0.1): Loading from cache
– Installing sebastian/resource-operations (1.0.0): Loading from cache
– Installing sebastian/recursion-context (3.0.0): Loading from cache
– Installing sebastian/object-reflector (1.1.1): Loading from cache
– Installing sebastian/object-enumerator (3.0.3): Loading from cache
– Installing sebastian/global-state (2.0.0): Loading from cache
– Installing sebastian/exporter (3.1.0): Loading from cache
– Installing sebastian/environment (3.1.0): Loading from cache
– Installing sebastian/diff (2.0.1): Loading from cache
– Installing sebastian/comparator (2.1.0): Loading from cache
– Installing phpunit/php-text-template (1.2.1): Loading from cache
– Installing doctrine/instantiator (1.0.5): Loading from cache
– Installing phpunit/phpunit-mock-objects (5.0.4):Downloading (100%) )
– Installing phpunit/php-timer (1.0.9): Loading from cache
– Installing phpunit/php-file-iterator (1.4.5): Loading from cache
– Installing theseer/tokenizer (1.1.0): Loading from cache
– Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
– Installing phpunit/php-code-coverage (5.3.0): Downloading (100%)
– Installing phpspec/prophecy (1.7.3): Loading from cache
– Installing phar-io/version (1.0.1): Loading from cache
– Installing phar-io/manifest (1.0.1): Loading from cache
– Installing myclabs/deep-copy (1.7.0): Loading from cache
– Installing phpunit/phpunit (6.5.3): Downloading (100%)
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/console suggests installing symfony/lock ()
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.5).)
laravel/framework suggests installing ext-pcntl (Required to use all features of the queue worker.)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing nexmo/client (Required to use the Nexmo transport (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (~3.3).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (~1.0).)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.5)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
Generating optimized autoload files
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
> @php artisan key:generate
Application key [base64:Joo0bUINtQktEYqPxXPiunyLUXCx25bq2e63N6l3hvM=] set successfully.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Package manifest generated successfully.
Application ready! Build something amazing.
[/code]
ここまで行ければ、簡易サーバーを起動すればブラウザで見られるはず
[code lang=text]
$ cd tanba-events/
$ php artisan serve
Laravel development server started: <http://127.0.0.1:8000>
[Wed Dec 6 22:00:00 2017] 127.0.0.1:54370 [200]: /favicon.ico
[/code]
<img src="https://t-office.blue/wp-content/uploads/2017/12/4laravel_start-300×169.png" alt="" width="300" height="169" class="alignnone size-medium wp-image-367" />
chromeとかでhttp://127.0.0.1:8000 でアクセスできます。
gitで管理
以下のフォルダにあるファイルをgitで管理します。
/home/<username>/homepage/laravel/tanba-events
[code lang=text]
$ git init
Initialized empty Git repository in /Users/<username>/homepage/laravel/tanba-events/.git/
$ ls -a
. .gitattributes composer.json phpunit.xml storage
.. .gitignore composer.lock public tests
.env app config resources vendor
.env.example artisan database routes webpack.mix.js
.git bootstrap package.json server.php yarn.lock
[/code]
幾つかgit関連のファイルができました。
.git .gitignore .gitattributes は普通のlsコマンドでは見えないので ls -a のすべて表示オプションを付けてみます。
git で管理しないファイルは.gitignoreに記入しとけばいいということで、データベースの設定とか、メールの設定とかを対象外にする必要がると思ったけど、もともと.gitignoreを用意してくれてあった。
[code lang=text]
$ vi .gitignore
※中身
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
/.idea
/.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.env
[/code]
.envがそのデータベースとか、Mailとかのパスワードファイル。これは、本番サーバ用にもともと用意しておけということだと思われる。
/vendorもということは本番では本番でcomposer updateしろってことだな。(たぶん)
ここまで来たら、gitでファイル管理
[code lang=text]
$ vi .gitignore
$ git add composer.json
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm –cached <file>…" to unstage)
new file: composer.json
Untracked files:
(use "git add <file>…" to include in what will be committed)
.env.example
.gitattributes
.gitignore
app/
artisan
bootstrap/
composer.lock
config/
database/
package.json
phpunit.xml
public/
resources/
routes/
server.php
storage/
tests/
webpack.mix.js
yarn.lock
$ git add .
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm –cached <file>…" to unstage)
new file: .env.example
new file: .gitattributes
new file: .gitignore
new file: app/Console/Kernel.php
new file: app/Exceptions/Handler.php
new file: app/Http/Controllers/Auth/ForgotPasswordController.php
new file: app/Http/Controllers/Auth/LoginController.php
new file: app/Http/Controllers/Auth/RegisterController.php
new file: app/Http/Controllers/Auth/ResetPasswordController.php
new file: app/Http/Controllers/Controller.php
new file: app/Http/Kernel.php
new file: app/Http/Middleware/EncryptCookies.php
new file: app/Http/Middleware/RedirectIfAuthenticated.php
new file: app/Http/Middleware/TrimStrings.php
new file: app/Http/Middleware/TrustProxies.php
new file: app/Http/Middleware/VerifyCsrfToken.php
new file: app/Providers/AppServiceProvider.php
new file: app/Providers/AuthServiceProvider.php
new file: app/Providers/BroadcastServiceProvider.php
new file: app/Providers/EventServiceProvider.php
new file: app/Providers/RouteServiceProvider.php
new file: app/User.php
new file: artisan
new file: bootstrap/app.php
new file: bootstrap/cache/.gitignore
new file: composer.json
new file: composer.lock
new file: config/app.php
new file: config/auth.php
new file: config/broadcasting.php
new file: config/cache.php
new file: config/database.php
new file: config/filesystems.php
new file: config/mail.php
new file: config/queue.php
new file: config/services.php
new file: config/session.php
new file: config/view.php
new file: database/.gitignore
new file: database/factories/UserFactory.php
new file: database/migrations/2014_10_12_000000_create_users_table.php
new file: database/migrations/2014_10_12_100000_create_password_resets_table.php
new file: database/seeds/DatabaseSeeder.php
new file: package.json
new file: phpunit.xml
new file: public/.htaccess
new file: public/css/app.css
new file: public/favicon.ico
new file: public/index.php
new file: public/js/app.js
new file: public/robots.txt
new file: resources/assets/js/app.js
new file: resources/assets/js/bootstrap.js
new file: resources/assets/js/components/ExampleComponent.vue
new file: resources/assets/sass/_variables.scss
new file: resources/assets/sass/app.scss
new file: resources/lang/en/auth.php
new file: resources/lang/en/pagination.php
new file: resources/lang/en/passwords.php
new file: resources/lang/en/validation.php
new file: resources/views/welcome.blade.php
new file: routes/api.php
new file: routes/channels.php
new file: routes/console.php
new file: routes/web.php
new file: server.php
new file: storage/app/.gitignore
new file: storage/app/public/.gitignore
new file: storage/framework/.gitignore
new file: storage/framework/cache/.gitignore
new file: storage/framework/sessions/.gitignore
new file: storage/framework/testing/.gitignore
new file: storage/framework/views/.gitignore
new file: storage/logs/.gitignore
new file: tests/CreatesApplication.php
new file: tests/Feature/ExampleTest.php
new file: tests/TestCase.php
new file: tests/Unit/ExampleTest.php
new file: webpack.mix.js
new file: yarn.lock
$ git commit -m "first message"
[master (root-commit) 39f9452] first message
Committer: Takashi Sano <tacky2k@MacBookT-2.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config –global –edit
After doing this, you may fix the identity used for this commit with:
git commit –amend –reset-author
80 files changed, 13350 insertions(+)
create mode 100644 .env.example
create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 app/Console/Kernel.php
create mode 100644 app/Exceptions/Handler.php
create mode 100644 app/Http/Controllers/Auth/ForgotPasswordController.php
create mode 100644 app/Http/Controllers/Auth/LoginController.php
create mode 100644 app/Http/Controllers/Auth/RegisterController.php
create mode 100644 app/Http/Controllers/Auth/ResetPasswordController.php
create mode 100644 app/Http/Controllers/Controller.php
create mode 100644 app/Http/Kernel.php
create mode 100644 app/Http/Middleware/EncryptCookies.php
create mode 100644 app/Http/Middleware/RedirectIfAuthenticated.php
create mode 100644 app/Http/Middleware/TrimStrings.php
create mode 100644 app/Http/Middleware/TrustProxies.php
create mode 100644 app/Http/Middleware/VerifyCsrfToken.php
create mode 100644 app/Providers/AppServiceProvider.php
create mode 100644 app/Providers/AuthServiceProvider.php
create mode 100644 app/Providers/BroadcastServiceProvider.php
create mode 100644 app/Providers/EventServiceProvider.php
create mode 100644 app/Providers/RouteServiceProvider.php
create mode 100644 app/User.php
create mode 100644 artisan
create mode 100644 bootstrap/app.php
create mode 100755 bootstrap/cache/.gitignore
create mode 100644 composer.json
create mode 100644 composer.lock
create mode 100644 config/app.php
create mode 100644 config/auth.php
create mode 100644 config/broadcasting.php
create mode 100644 config/cache.php
create mode 100644 config/database.php
create mode 100644 config/filesystems.php
create mode 100644 config/mail.php
create mode 100644 config/queue.php
create mode 100644 config/services.php
create mode 100644 config/session.php
create mode 100644 config/view.php
create mode 100644 database/.gitignore
create mode 100644 database/factories/UserFactory.php
create mode 100644 database/migrations/2014_10_12_000000_create_users_table.php
create mode 100644 database/migrations/2014_10_12_100000_create_password_resets_table.php
create mode 100644 database/seeds/DatabaseSeeder.php
create mode 100644 package.json
create mode 100644 phpunit.xml
create mode 100644 public/.htaccess
create mode 100644 public/css/app.css
create mode 100644 public/favicon.ico
create mode 100644 public/index.php
create mode 100644 public/js/app.js
create mode 100644 public/robots.txt
create mode 100644 resources/assets/js/app.js
create mode 100644 resources/assets/js/bootstrap.js
create mode 100644 resources/assets/js/components/ExampleComponent.vue
create mode 100644 resources/assets/sass/_variables.scss
create mode 100644 resources/assets/sass/app.scss
create mode 100644 resources/lang/en/auth.php
create mode 100644 resources/lang/en/pagination.php
create mode 100644 resources/lang/en/passwords.php
create mode 100644 resources/lang/en/validation.php
create mode 100644 resources/views/welcome.blade.php
create mode 100644 routes/api.php
create mode 100644 routes/channels.php
create mode 100644 routes/console.php
create mode 100644 routes/web.php
create mode 100644 server.php
create mode 100755 storage/app/.gitignore
create mode 100755 storage/app/public/.gitignore
create mode 100755 storage/framework/.gitignore
create mode 100755 storage/framework/cache/.gitignore
create mode 100755 storage/framework/sessions/.gitignore
create mode 100755 storage/framework/testing/.gitignore
create mode 100755 storage/framework/views/.gitignore
create mode 100755 storage/logs/.gitignore
create mode 100644 tests/CreatesApplication.php
create mode 100644 tests/Feature/ExampleTest.php
create mode 100644 tests/TestCase.php
create mode 100644 tests/Unit/ExampleTest.php
create mode 100644 webpack.mix.js
create mode 100644 yarn.lock
$ git log
commit 39f9452e96644bec3dc70651d507c0fd80ae25e3 (HEAD -> master)
Author: Takashi Sano <tacky2k@MacBookT-2.local>
Date: Fri Dec 8 07:01:30 2017 +0900
first message
[/code]
bitbucketにデータを保存
bitbucketにサイトにアクセスし、ユーザ登録、メール確認を行います。
リポジトリを作成します。
リポジトリ名を入力して、[リポジトリの作成]ボタンを押す。
<img src="https://t-office.blue/wp-content/uploads/2017/12/4repo1-300×169.png" alt="" width="300" height="169" class="alignnone size-medium wp-image-368" />
下の方の「既にプロジェクトがあります。」をクリックします。
<img src="https://t-office.blue/wp-content/uploads/2017/12/4repo2-300×173.png" alt="" width="300" height="173" class="alignnone size-medium wp-image-369" />
そうすると、
– Step1でローカルの開発環境のディレクトリに移動する
– Step2でクラウドに上げるコマンド
<br>
が表示されるので自分の環境に読み替えて実行する。
<img src="https://t-office.blue/wp-content/uploads/2017/12/4repo3-300×164.png" alt="" width="300" height="164" class="alignnone size-medium wp-image-370" />
[code lang=text]
$ git push -u origin master
Password for 'https://tacky2k@bitbucket.org': <-このパスワードがわかりにくい
Counting objects: 109, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (92/92), done.
Writing objects: 100% (109/109), 225.85 KiB | 2.35 MiB/s, done.
Total 109 (delta 9), reused 0 (delta 0)
To https://bitbucket.org/tacky2k/tanba-events.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
[/code]
ここのパスワードはBitBucketの左下のプロフィールの設定の中のアクセス管理という項目の下に「アプリ パスワード」という項目があるので作成する必要がある。
それを入力すると。無事アップロードされる。
Web上からも、確認できた。
<img src="https://t-office.blue/wp-content/uploads/2017/12/4repo4-300×170.png" alt="" width="300" height="170" class="alignnone size-medium wp-image-371" />
ついでに、trello(タスク管理アプリ)との連携も取れたので、設定しておきました。
サーバにアップされることを確認
[code lang=text]
$ cd /var/www/
$ sudo git clone https://tacky2k@bitbucket.org/tacky2k/tanba-events.git
Initialized empty Git repository in /var/www/tanba-events/.git/
Password:
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 109 (delta 9), reused 109 (delta 9)
Receiving objects: 100% (109/109), 225.85 KiB | 295 KiB/s, done.
Resolving deltas: 100% (9/9), done.
$ cd tanba-events/
$ ls
app composer.json database public server.php webpack.mix.js
artisan composer.lock package.json resources storage yarn.lock
bootstrap config phpunit.xml routes tests
[tacky2k@tk2-229-24339 tanba-events]$ ls -al
合計 448
drwxr-xr-x 12 root root 4096 12月 8 10:27 2017 .
drwxr-xr-x 15 root root 4096 12月 8 10:27 2017 ..
-rw-r–r– 1 root root 542 12月 8 10:27 2017 .env.example
drwxr-xr-x 8 root root 4096 12月 8 10:27 2017 .git
-rw-r–r– 1 root root 111 12月 8 10:27 2017 .gitattributes
-rw-r–r– 1 root root 146 12月 8 10:27 2017 .gitignore
drwxr-xr-x 6 root root 4096 12月 8 10:27 2017 app
-rw-r–r– 1 root root 1686 12月 8 10:27 2017 artisan
drwxr-xr-x 3 root root 4096 12月 8 10:27 2017 bootstrap
-rw-r–r– 1 root root 1379 12月 8 10:27 2017 composer.json
-rw-r–r– 1 root root 141837 12月 8 10:27 2017 composer.lock
drwxr-xr-x 2 root root 4096 12月 8 10:27 2017 config
drwxr-xr-x 5 root root 4096 12月 8 10:27 2017 database
-rw-r–r– 1 root root 1125 12月 8 10:27 2017 package.json
-rw-r–r– 1 root root 1040 12月 8 10:27 2017 phpunit.xml
drwxr-xr-x 4 root root 4096 12月 8 10:27 2017 public
drwxr-xr-x 5 root root 4096 12月 8 10:27 2017 resources
drwxr-xr-x 2 root root 4096 12月 8 10:27 2017 routes
-rw-r–r– 1 root root 563 12月 8 10:27 2017 server.php
drwxr-xr-x 5 root root 4096 12月 8 10:27 2017 storage
drwxr-xr-x 4 root root 4096 12月 8 10:27 2017 tests
-rw-r–r– 1 root root 549 12月 8 10:27 2017 webpack.mix.js
-rw-r–r– 1 root root 226734 12月 8 10:27 2017 yarn.lock
[/code]
無事アップされました。
ディスカッション
コメント一覧
まだ、コメントがありません