Skip to content

castillotomupwork/delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delivery App

Simple Symfony ReactJS App

Installation

  1. Edit hosts file C:\Windows\System32\drivers\etc\hosts
127.0.0.1   delivery.local
  1. Execute in this in terminal to create servers
docker-compose up -d
  1. Edit symfony .env file
DATABASE_URL=mysql://root:[email protected]:3306/delivery
  1. Go to database server container
docker exec -it databaseserver bash
  1. Login to MySQL
mysql --user=root --password=mysql
  1. Create Database
create database delivery;
  1. Exit MySQL
exit
  1. Exit database container
exit
  1. Go to web server container
docker exec -it webserver bash
  1. Go to symfony files
cd /var/www/html/app
  1. Install symfony plugins
composer install
  1. Migrate database schema
php bin/console doctrine:migrations:migrate
  1. Load fixtures
php bin/console doctrine:fixtures:load
  1. Populate react files
yarn encore production

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published