codecommunitymusic-client icon indicating copy to clipboard operation
codecommunitymusic-client copied to clipboard

[GUIDE] How to setup the complete application locally?

Open Abbhiishek opened this issue 1 year ago • 0 comments

Hello 🙌,

Thanks for showing interest in Code Community Music. If you are interested in setting up the whole application including the backend then follow the below steps:)

  1. Check out this Repo.
  2. This include two submodules one is client and second is server
  3. clone the repo locally and cd into it.
  git clone https://github.com/Abbhiishek/codecommunitymusic.git
  cd codecommunitymusic
  1. Pull the submodules to latest version.
  git submodule update --init --recursive
  1. Make sure your docker demon is running in background 🐬
  2. Build the image and run the instance
docker compose -f docker-compose.dev.yml  up --build --force-recreate

There are 4 container currently running to provide you all feature.

-> check out you docker conatiners you might see similar as below:

image
  1. If you want to view the backend admin panel, you would require to create one superuser for that. Run the below command in another terminal instance at same path as before
docker compose -f docker-compose.dev.yml run --rm  backend python manage.py createsuperuser

You will be asked for username , email address & password of your choice.

  1. Now you can access the backend admin panel at http://localhost:8000/admin

  2. Down the containers

docker compose -f docker-compose.dev.yml  down

Sub Modules Projects

Here are the submodule repo that this project uses. You can contribute through those repos

Feedback

If you have any feedback, please raise a issue. Feel free to drop a star ⭐

Abbhiishek avatar Oct 03 '23 13:10 Abbhiishek