This guide provides instructions on how to set up and run the PlayLink application on your local machine using Docker. The application consists of an ASP.NET backend, an Angular frontend, and a PostgreSQL database.
Before you begin, ensure you have the following installed:
- Git
- Docker
First, clone the PlayLink repository using the following command:
git clone git@github.com:JakaAmbrus/PlayLink.gitNavigate to the project directory:
cd PlayLinkTo get the full experience of the site, you need to add your Cloudinary settings to the docker-compose.dev.yml file.
- Open docker-compose.dev.yml.
- Locate the environment variables for the backend service.
- Fill in your Cloudinary CloudName, ApiKey, and ApiSecret.
environment:
- CLOUDINARY_CLOUD_NAME=your_cloud_name_here
- CLOUDINARY_API_KEY=your_api_key_here
- CLOUDINARY_API_SECRET=your_api_secret_hereNext, update the Cloudinary URL in the Angular client:
- Go to the client/src/environments folder.
- Open the environment.ts file
- Replace the existing Cloudinary URL with your own.
export const environment = {
production: true,
apiUrl: "api/",
hubUrl: "hubs/",
cloudinaryUrl: "https://res.cloudinary.com/xxxx", // Replace with your own Cloudinary URL
};Run the application using Docker Compose:
docker-compose -f docker-compose.dev.yml up --buildAfter the command completes, you can access the Angular site at http://localhost:4200.
To stop the application and remove the containers, use the following command:
docker-compose -f docker-compose.dev.yml downIf PlayLink has been helpful or interesting to you, I would greatly appreciate your support! Giving a star ⭐️ on GitHub is a fantastic way to show your appreciation and helps more people discover my project. If you are interested, visit my LinkedIn profile and connect with me there.
Thank you for trying out PlayLink. If you're interested in professional collaboration or if my skills and project align with what you're looking for in a developer, I'm open to discussing potential opportunities. Please feel free to reach out to me for any professional inquiries or collaborations.
If you encounter any issues or have questions while setting up the PlayLink application, don't hesitate to reach out for assistance. You can contact me through GitHub issues, email, or any other preferred method. I'm here to help!
If you encounter any challenges during the setup process, please reach out. This section will be continuously updated with solutions to common issues based on user feedback and inquiries.
For advanced setup instructions, including running Angular and ASP.NET Core Web API separately, see DevelopmentSetupGuide.md.