Welcome to Bom-Squad, the inventory and search tool for DIY Eurorack synthesizer module builders. Bom-Squad empowers users to explore DIY Eurorack modules, add modules to their personal inventory of built or "to build" modules, and catalog required components to create a customized shopping list for assembling modules. The platform simplifies the process of obtaining components from Tayda, Mouser, and other online retailers, while also enabling users to effectively manage their personal inventory of components. Moreover, Bom-Squad provides versioning capabilities for a user's personal inventories, ensuring that errors are infrequent and effortlessly rectifiable.
-
Download Docker if you don't have it installed already.
-
Download and install Node.js if you don't have it installed already.
-
Clone the repository:
git clone https://github.com/username/project.git
-
Set environment variables: Rename
.env.example
to be.env.dev
in the root directory of the project, and fill in a secrete key for local development. -
Install Node dependancies: Run npm install in the frontend directory to install the required frontend dependencies.
-
Build the container: With Docker Desktop running, run
docker-compose build
to build the Docker containers. -
Start the container: Once the Docker containers are built, run
docker-compose up
to start the Docker containers.
- Find the Django "backend" container ID: Open a new terminal window and run the following command to get the container ID of the Django backend container:
docker ps
- Enter the Django container: Run the following command to enter the Django backend container, replacing <container_id> with the actual container ID obtained in the previous step:
docker exec -it <container_id> bash
- Load the test data: Inside the container, run the following command to load the test data:
./manage.py loaddata fixtures/test_data.py
Your project should now be up and running! Visit http://localhost:3000 to access the frontend and http://localhost:8000 for the backend.