Before you begin, ensure you have met the following requirements:
To deploy the Project, follow these steps:
-
Clone the repository:
git clone https://github.com/bakhtiyor/textmagic-test-task
-
Navigate to the project directory:
cd textmagic-test-task
-
Build the Docker container (for the first time only):
docker-compose up --build
-
Open a new terminal and go to the application directory (where you cloned the project) and run the following command to access the PHP container shell:
docker-compose exec php-fpm bash
-
Create a copy of .env.local file
cp .env .env.local
-
Create a database schema
php bin/console doctrine:schema:update --force
-
Run following data fixture in order to fill up the tables with some data (Be careful: that after running this command all the data in the database will be lost):
php bin/console doctrine:fixtures:load --no-interaction
-
Access the application via: http://localhost in your web browser.
-
You will be asked to login. Use the following credentials or register a new user:
- Username:
[email protected]
- Password:
123456
- Username:
You can reach me at @bakhtiyorbs for any further questions.