Skip to content

Commit

Permalink
🔥 Remove Blog and Project domain, reorganize folders (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
ker0x authored Aug 20, 2024
1 parent 1bf42be commit 6349f93
Show file tree
Hide file tree
Showing 171 changed files with 697 additions and 6,057 deletions.
26 changes: 14 additions & 12 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

###> tales-from-a-dev/website ###
SECURE_SCHEME=https

USER_EMAIL=[email protected]
USER_PASSWORD=$2y$13$.HTrY6My5GMKXPtBaAo4yuYxi3w2VvstIOWveXCwjbTusEGc6NR8m

CONTACT_EMAIL=[email protected]
CONTACT_PHONE=0123456789

GITHUB_ACCESS_TOKEN=
GITHUB_USERNAME=
###< tales-from-a-dev/website ###

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=c7fb94ce5b34733d6c7fbadcadab8ee7
Expand All @@ -26,7 +39,7 @@ APP_SECRET=c7fb94ce5b34733d6c7fbadcadab8ee7
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4"
POSTGRES_DB=app
POSTGRES_VERSION=15
POSTGRES_VERSION=16
POSTGRES_USER=app
POSTGRES_PASSWORD=!ChangeMe!

Expand All @@ -40,14 +53,3 @@ FREE_MOBILE_DSN=null://null
###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###

###> tales-from-a-dev/website ###
USER_EMAIL=[email protected]
USER_PASSWORD=$2y$13$.HTrY6My5GMKXPtBaAo4yuYxi3w2VvstIOWveXCwjbTusEGc6NR8m

CONTACT_EMAIL=[email protected]
CONTACT_PHONE=0123456789

GITHUB_ACCESS_TOKEN=
GITHUB_USERNAME=
###< tales-from-a-dev/website ###
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ jobs:
run: >
GITHUB_USERNAME=${{ secrets.GH_USERNAME }}
GITHUB_ACCESS_TOKEN=${{ secrets.GH_ACCESS_TOKEN }}
TWITTER_USER_ID=${{ secrets.TWITTER_USER_ID }}
TWITTER_BEARER_TOKEN=${{ secrets.TWITTER_BEARER_TOKEN }}
docker compose up --wait --no-build
-
Expand All @@ -71,10 +69,12 @@ jobs:

-
name: Create test database
if: false
run: docker compose exec -T php bin/console -e test doctrine:database:create

-
name: Run migrations
if: false
run: docker compose exec -T php bin/console -e test doctrine:migrations:migrate --no-interaction

-
Expand All @@ -84,4 +84,4 @@ jobs:

-
name: Run PHPUnit
run: docker compose exec -T php bin/phpunit
run: make coverage
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ phpstan: ## Perform static analysis
.PHONY: phpstan

phpstan-baseline: ## Update baseline file
@$(PHP_CONT) ./vendor/bin/phpstan analyse --memory-limit 256M --generate-baseline
@$(PHP_CONT) ./vendor/bin/phpstan analyse --memory-limit 256M --generate-baseline --allow-empty-baseline
.PHONY: phpstan-baseline

rector-dry: ## Perform code migration/refactoring with Rector in dry mode
Expand Down
2 changes: 0 additions & 2 deletions compose.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ services:
environment:
GITHUB_USERNAME: ${GITHUB_USERNAME:-app}
GITHUB_ACCESS_TOKEN: ${GITHUB_ACCESS_TOKEN:-!ChangeMe!}
TWITTER_USER_ID: ${TWITTER_USER_ID:-app}
TWITTER_BEARER_TOKEN: ${TWITTER_BEARER_TOKEN:-!ChangeMe!}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"symfony/stopwatch": "7.1.*",
"symfony/web-profiler-bundle": "7.1.*",
"vincentlanglet/twig-cs-fixer": "^3.0",
"zenstruck/foundry": "^1.36"
"zenstruck/browser": "^1.8",
"zenstruck/foundry": "^2.0"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 6349f93

Please sign in to comment.