-
Clone the repository:
git clone https://github.com/code100x/muzer.git
-
Navigate to the project directory:
cd muzer
-
Create a
.env
file based on the.env.example
file and configure everything in both thenext-app
andws
folders. -
Run the following command to start the application:
docker compose --env-file ./next-app/.env --env-file ./ws/.env up -d
-
Clone the repository:
git clone https://github.com/code100x/muzer.git
-
Navigate to the project directory:
cd muzer
-
Now Install the dependencies:
cd next-app pnpm install cd .. cd ws pnpm install
-
Create a
.env
file based on the.env.example
file and configure everything in both thenext-app
andws
folders. -
For postgres, you need to run the following command:
docker run -d \ --name muzer-db \ -e POSTGRES_USER=myuser \ -e POSTGRES_PASSWORD=mypassword \ -e POSTGRES_DB=mydatabase \ -p 5432:5432 \ postgres
-
For redis, you need to run the following command:
docker run -d \ --name muzer-redis \ -e REDIS_USERNAME=admin \ -e REDIS_PASSWORD=root \ -e REDIS_PORT=6379 \ -e REDIS_HOST="127.0.0.1" \ -e REDIS_BROWSER_STACK_PORT=8001 \ redis/redis-stack:latest
-
Now do the following:
cd next-app pnpm postinstall cd .. cd ws pnpm postinstall
-
Run the following command to start the application:
cd next-app pnpm dev cd .. cd ws pnpm dev
-
To access the prisma studio, run the following command:
cd next-app pnpm run prisma:studio
- Access the application in your browser at http://localhost:3000
- Access the redis stack at http://localhost:8001/redis-stack/browser
- Access the prisma studio at http://localhost:5555
We welcome contributions from the community! To contribute to Muzer, follow these steps:
-
Fork the repository.
-
Create a new branch (
git checkout -b feature/fooBar
). -
Make your changes and commit them (
git commit -am 'Add some fooBar'
). -
Push to the branch (
git push origin -u feature/fooBar
). -
Create a new Pull Request.
For major changes, please open an issue first to discuss what you would like to change.
Read our contribution guidelines for more details.
If you continue to face issues, please open a GitHub issue with details about the problem you're experiencing.