jmpatricio / sheldon
1.0.0
2020-05-30 15:37 UTC
Requires
- php: ^7.2.5
- ext-ctype: *
- ext-iconv: *
- easycorp/easyadmin-bundle: ^2.3
- sensio/framework-extra-bundle: ^5.1
- symfony/asset: 5.0.*
- symfony/console: 5.0.*
- symfony/dotenv: 5.0.*
- symfony/expression-language: 5.0.*
- symfony/flex: ^1.3.1
- symfony/form: 5.0.*
- symfony/framework-bundle: 5.0.*
- symfony/http-client: 5.0.*
- symfony/intl: 5.0.*
- symfony/mailer: 5.0.*
- symfony/monolog-bundle: ^3.1
- symfony/notifier: 5.0.*
- symfony/orm-pack: *
- symfony/process: 5.0.*
- symfony/security-bundle: 5.0.*
- symfony/serializer-pack: *
- symfony/string: 5.0.*
- symfony/translation: 5.0.*
- symfony/twig-pack: *
- symfony/validator: 5.0.*
- symfony/web-link: 5.0.*
- symfony/webpack-encore-bundle: ^1.7
- symfony/yaml: 5.0.*
Requires (Dev)
Conflicts
- dev-master
- 1.0.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/composer/twig/twig-3.4.3
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/npm_and_yarn/minimist-1.2.6
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/composer/symfony/security-guard-5.2.8
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.8
This package is auto-updated.
Last update: 2024-12-06 12:02:27 UTC
README
The boilerplate for new projects
Getting Started
Create the new project
composer create-project jmpatricio/sheldon blog
Initiate the project
cd ./blog
yarn install
For local environment, use the sqlite db
touch ./var/database.sqlite
Add the following content to ./.env.local
###> doctrine/doctrine-bundle ### # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8" # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml DATABASE_URL=sqlite:///%kernel.project_dir%/var/data.sqlite ###< doctrine/doctrine-bundle ###
Bootstrap the database
./bin/console doctrine:migrations:migrate
Load the default users
./bin/console doctrine:fixtures:load
This will create 2 users.
- admin@localhost (password: admin)
- user@localhost (password: user)
Start the local server
synfony serve