Project Viewer is a PHP/Symfony 6 application designed to help you manage and view projects effectively.
- Doctrine: Object-Relational Mapping (ORM) library for database interactions.
- EasyAdmin: Symfony bundle for creating administration panels.
- Webpack Encore: Asset management and build tool for front-end assets.
Before you get started, ensure you have the following tools installed on your system:
Follow these steps to set up and run the Project Viewer application:
-
Clone the Repository:
git clone https://github.com/sorbaugh/projectviewer cd projectviewer
-
Create Containers: Make sure that Docker-Desktop is up and running and run the following command in the project's root directory to create Docker containers:
docker-compose up -d
-
Connect into the docker container and install PHP dependencies:
docker exec -ti projectviewer-php_symfony_app-1 /bin/bash
-
Change to the /var/www directory inside the Docker container:
cd /var/www
-
Then install PHP dependencies using Composer:
composer install
-
Install Front-End Dependencies: Still in the /var/www directory inside the Docker container, install front-end dependencies using npm:
npm install
-
Build the assets:
npm run build
-
Create the database:
php bin/console doctrine:database:create
-
Execute doctrine migration (type "yes" when prompted)
php bin/console doctrine:migrations:migrate
You're done!
Open your web browser and navigate to http://localhost:9000 to access the Project Viewer application.
You can also navigate to http://localhost:5050 to access pgadmin.
Use the Project Viewer application to manage and view your projects efficiently. Explore the features provided by Doctrine, EasyAdmin, and Webpack Encore to streamline your workflow.
Contributions are welcome! If you find a bug or want to add new features, feel free to create issues or pull requests.