<commit_before>#######################################################
### Setup

.PHONY: first/install
first/install:
	cp -n .env.example .env
	cp -n laradock/.env.example laradock/.env

#######################################################
### Local

.PHONY: local/dist
local/dist: node_modules vendor local/npm-run

vendor: composer.json composer.lock
	bin/dev/composer install --prefer-dist

node_modules: package.json package-lock.json
	bin/dev/npm install

.PHONY: local/npm-run
local/npm-run:
	bin/dev/npm run dev

#######################################################
### CI

.PHONY: ci/dist
ci/dist: ci/vendor ci/generate-key ci/node_modules ci/npm-run

.PHONY: ci/vendor
ci/vendor:
	time bin/dev/composer install --optimize-autoloader --no-suggest --no-interaction --prefer-dist

.PHONY: ci/generate-key
ci/generate-key:
	time bin/dev/php artisan key:generate --ansi

.PHONY: ci/npm-run
ci/npm-run:
	time bin/dev/npm run dev

.PHONY: ci/node_modules
ci/node_modules:
	time bin/dev/npm install--unsafe-perm

########################################################
### Prod

.PHONY: prod/dist
prod/dist: prod/vendor prod/node_modules prod/npm-run prod/clear-cached

.PHONY: prod/vendor
prod/vendor:
	time bin/dev/composer install --no-dev --optimize-autoloader --no-interaction --no-suggest --prefer-dist

.PHONY: prod/npm-run
prod/npm-run:
	time bin/dev/npm run prod

.PHONY: prod/node_modules
prod/node_modules:
	time bin/dev/npm install--unsafe-perm

.PHONY: prod/clear-cached
prod/clear-cached:
	bin/dev/php artisan clear-compiled
	bin/dev/php artisan route:clear
	bin/dev/php artisan cache:clear
	bin/dev/php artisan view:clear
	bin/dev/php artisan route:cache

########################################################
### Docker

.PHONY: docker-up
docker-up:<commit_msg>Removing time command because permissions issue<commit_after>#######################################################
### Setup

.PHONY: first/install
first/install:
	cp -n .env.example .env
	cp -n laradock/.env.example laradock/.env

#######################################################
### Local

.PHONY: local/dist
local/dist: node_modules vendor local/npm-run

vendor: composer.json composer.lock
	bin/dev/composer install --prefer-dist

node_modules: package.json package-lock.json
	bin/dev/npm install

.PHONY: local/npm-run
local/npm-run:
	bin/dev/npm run dev

#######################################################
### CI

.PHONY: ci/dist
ci/dist: ci/vendor ci/generate-key ci/node_modules ci/npm-run

.PHONY: ci/vendor
ci/vendor:
	bin/dev/composer install --optimize-autoloader --no-suggest --no-interaction --prefer-dist

.PHONY: ci/generate-key
ci/generate-key:
	bin/dev/php artisan key:generate --ansi

.PHONY: ci/npm-run
ci/npm-run:
	bin/dev/npm run dev

.PHONY: ci/node_modules
ci/node_modules:
	bin/dev/npm install--unsafe-perm

########################################################
### Prod

.PHONY: prod/dist
prod/dist: prod/vendor prod/node_modules prod/npm-run prod/clear-cached

.PHONY: prod/vendor
prod/vendor:
	bin/dev/composer install --no-dev --optimize-autoloader --no-interaction --no-suggest --prefer-dist

.PHONY: prod/npm-run
prod/npm-run:
	bin/dev/npm run prod

.PHONY: prod/node_modules
prod/node_modules:
	bin/dev/npm install--unsafe-perm

.PHONY: prod/clear-cached
prod/clear-cached:
	bin/dev/php artisan clear-compiled
	bin/dev/php artisan route:clear
	bin/dev/php artisan cache:clear
	bin/dev/php artisan view:clear
	bin/dev/php artisan route:cache

########################################################
### Docker

.PHONY: docker-up
docker-up:
{'fraction_non_alphanumeric': 0.26838132513279284, 'fraction_numerical': 0.0, 'mean_word_length': 4.513097072419106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3324259', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1211, 'n_words': 257}