Skip to content

Commit

Permalink
Delete the file that keeps the command execution history (ucan-lab#65)
Browse files Browse the repository at this point in the history
* feat Delete the file that keeps the command execution history

* style Makefile
  • Loading branch information
ucan-lab authored Jul 24, 2020
1 parent 4d80bb3 commit 699ab49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ up:
build:
docker-compose build --no-cache --force-rm
create-project:
mkdir -p ./docker/php/bash/psysh
touch ./docker/php/bash/.bash_history
@make build
@make up
docker-compose exec app composer create-project --prefer-dist laravel/laravel .
docker-compose exec app chmod -R 777 storage/ bootstrap/cache/
docker-compose exec app chmod -R 777 storage bootstrap/cache
install-recommend-packages:
docker-compose exec app composer require doctrine/dbal
docker-compose exec app composer require --dev barryvdh/laravel-ide-helper
Expand All @@ -18,8 +16,6 @@ install-recommend-packages:
docker-compose exec app php artisan vendor:publish --provider="BeyondCode\DumpServer\DumpServerServiceProvider"
docker-compose exec app php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
init:
mkdir -p ./docker/php/bash/psysh
touch ./docker/php/bash/.bash_history
docker-compose up -d --build
docker-compose exec app composer install
docker-compose exec app cp .env.example .env
Expand Down
2 changes: 0 additions & 2 deletions infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
volumes:
- php-fpm-socket:/var/run/php-fpm
- ../backend:/work/backend
- ./docker/php/bash/.bash_history:/root/.bash_history
- ./docker/php/bash/psysh:/root/.config/psysh

web:
build: ./docker/nginx
Expand Down

0 comments on commit 699ab49

Please sign in to comment.