Skip to content

Commit 314e3f6

Browse files
authored
Merge branch 'ionos-deploy-now:main' into main
2 parents c1c2ba2 + 9abb3c0 commit 314e3f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+5315
-17503
lines changed

.deploy-now/config.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.env

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
APP_DEBUG=0
2-
APP_ENV=prod
3-
APP_SECRET=
1+
# In all environments, the following files are loaded if they exist,
2+
# the latter taking precedence over the former:
3+
#
4+
# * .env contains default values for the environment variables needed by the app
5+
# * .env.local uncommitted file with local overrides
6+
# * .env.$APP_ENV committed environment-specific defaults
7+
# * .env.$APP_ENV.local uncommitted environment-specific overrides
8+
#
9+
# Real environment variables win over .env files.
10+
#
11+
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12+
# https://symfony.com/doc/current/configuration/secrets.html
13+
#
14+
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15+
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
416

5-
DATABASE_URL="mysql://{{.runtime.db.user}}:{{.runtime.db.password}}@{{.runtime.db.host}}:3306/{{.runtime.db.name}}?serverVersion=mariadb-10.5&charset=utf8mb4"
6-
MAILER_DSN="smtp://{{.secrets.IONOS_MAIL_USERNAME}}:{{urlquery .secrets.IONOS_MAIL_PASSWORD}}@{{.secrets.IONOS_MAIL_HOST}}:{{.secrets.IONOS_MAIL_PORT}}"
17+
###> symfony/framework-bundle ###
18+
APP_ENV=dev
19+
APP_SECRET=5d20723394a6a9fca92bfb51e978ccf5
20+
###< symfony/framework-bundle ###

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@
1515
npm-debug.log
1616
yarn-error.log
1717
###< symfony/webpack-encore-bundle ###
18-
19-
.idea
20-
public/build

.htaccess

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Symfony Sample for Deploy Now
22

3-
This is a basic Symfony website including tailwaind css, built with composer and node. You can use it as a starting point for your project or to give [Deploy Now](https://www.ionos.com/hosting/deploy-now) a try.
3+
This is a basic Symfony 7 website including tailwaind css, built with composer and node. You can use it as a starting point for your project or to give [Deploy Now](https://www.ionos.com/hosting/deploy-now) a try.
44

5-
## How to deploy it
5+
## How to deploy it
66

77
1. [Sign in or sign up](https://ionos.space/sign-up) for Deploy Now
88
2. Click this button and name your new repo
@@ -11,7 +11,7 @@ This is a basic Symfony website including tailwaind css, built with composer and
1111

1212
3. Deploy Now will detect necessary build dependencies and commands. You can adjust them and add environment variables.
1313
4. Specify a runtime PHP version, template your config file, define runtime secrets and set up a database or send mail account if required.
14-
5. List paths that you want to keep persistent during deployments and define remote commands you want to execute before and after deployments.
14+
5. List paths that you want to keep persistent during deployments and define remote commands you want to execute before and after deployments.
1515

1616
Afterwards, Deploy Now will set up a [GitHub Actions](https://github.com/features/actions) workflow that will be triggered by every new code commit. Build results are automatically deployed to IONOS infrastructure. Projects go live under a preview URL, but you can replace it with a custom domain anytime.
1717

@@ -28,6 +28,6 @@ Afterwards, Deploy Now will set up a [GitHub Actions](https://github.com/feature
2828

2929
[Sign up for Deploy Now](https://ionos.space/sign-up)
3030

31-
Missing a feature? Create a [GitHub issue](https://github.com/ionos-deploy-now/ionos-deploy-now/issues).
31+
Missing a feature? Create a [GitHub issue](https://github.com/ionos-deploy-now/ionos-deploy-now/issues).
3232

3333
_IONOS Deploy Now - made with :heart: by [us](https://docs.ionos.space/about-us/) in Karlsruhe, Germany_

assets/app.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
*/
77

88
// any CSS you import will output into a single css file (app.css in this case)
9-
import './styles/app.scss';
10-
11-
// start the Stimulus application
12-
import './bootstrap';
9+
import './styles/app.css';
10+
import './styles/main.scss';

assets/bootstrap.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

assets/controllers.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

assets/controllers/hello_controller.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

assets/styles/app.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

0 commit comments

Comments
 (0)