alisakopric / user_url_shortener
Just a test module for UserBundle.
dev-master
2016-08-31 12:51 UTC
This package is not auto-updated.
Last update: 2025-06-22 00:26:30 UTC
README
Note: This project is still undergoing a lot of changes
Installation
Installation is a quick 5 step process:
- Clone repository
- Download UserBundle using composer
- Enable the Bundle
- Configure your application
- Create app database
1. Clone repository
Create new project directory and execute git clone command inside of it
git clone https://alisa_kopric@bitbucket.org/sightsdigitalteam/url_shortener.git
2. Download UserBundle using composer
Simply execute following command
composer update
information required by the install script:
- database_host:
- database_port:
- database_name:
- database_username:
- database_password:
- mailer_transport:
- mailer_host:
- mailer_username:
- mailer_password:
- secret:
3. Enable UserBundle module
Register the bundle in AppKernel.php:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new UserBundle\UserBundle(), ); }
4. Configure your application
Configuration in your config.yml: -> uncomment resource line
app/config/config.yml
imports:
# - { resource: "@UserBundle/Resources/config/services.yml" }
Configuration in your routing.yml: -> uncomment lines
app/config/routing.yml
#user: # resource: "@UserBundle/Controller/" # type: annotation # prefix: /
5. Create app database
Prepare your database
This implementation takes care about building the database and creating your schema.
php bin/console doctrine:database:create php bin/console doctrine:schema:update --force