Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 2.28 KB

README.md

File metadata and controls

83 lines (54 loc) · 2.28 KB

Symfony Project

Build Status Documentation Status

Pre-requisites

How to setup

Clone the repository

$ git clone https://github.com/xXZang3tsuXx/Dinlanka_Symfony.git

Move inside the clone repository and run composer install to install all the modules required

$ composer install

Make sure MYSQL is running in the background and execute

( If you have custom setup running on MYSQL please configure parameters.yml file in app/config )

$ php bin/console doctrine:create:database

Create the designated schema

$ php bin/console doctrine:schema:create

Thats all !!

Run the server using

$ php bin/console server:run

Open browser and change url to http://localhost:8000 access the server.

How to access Admin Page

Browse to http://localhost:8000/register

create a user with a valid email and a password

Suppose that you use USERNAME for Username field,

To promote USERNAME to ADMIN_ROLE

$ php bin/console fos:user:promote USERNAME ROLE_ADMIN 

Then browse to http://localhost:8000/admin or http://localhost:8000/# & access using the created username and password.