Setup instructions
Guides a developer through installing Docker, Node.js, GoLang, forking a repository, and starting a local development environment with Docker Compose.
What this file does
Guides a developer through installing Docker, Node.js, GoLang, forking a repository, and starting a local development environment with Docker Compose.
When to use it
- Setting up a local development environment for the Clothing Loop project
- Onboarding a new contributor to the repository
- Configuring a development environment on Windows with Chocolatey and make
Assumes this stack
Setup instructions
This application needs to be installed before continuing.
Ensure that you have the follow programs installed after following the page instructions:
On Windows it's advised to use the built-in vs-code terminal unless you understand the differences between WSL, Powershell & Command Prompt.
1.a. Install make on windows
As defined here https://chocolatey.org/install
Open Command Prompt as Administrator then run the following commands:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install make
If you struggle here see https://stackoverflow.com/questions/48148664/the-term-execution-policy-is-not-recognized.
1.b. Install make on macos
Make sure that you have brew installed https://brew.sh/
brew install make
2. Fork repository
- Go to github.com/the-clothing-loop/website and name it something like "clothing-loop".
- Disable actions in fork (see https://github.com/orgs/community/discussions/26704)
- Clone repo locally
git clone https://github.com/<your_username>/clothing-loop.git - Open in VS code, open workspace, installed recommended extensions if asked
- copy
/clothing-loop/server/config.example.ymlto same directory and name itconfig.dev.yml - copy
/clothing-loop/frontend/.env-exampleto same directory and name it.env
3. Start using docker compose
- Open a terminal and cd into
clothing-loop - Run
make docker-startthis will setup and start the container, wait till this finishes (if the docker won't start it might help to open Docker Desktop first and try again, see: stackoverflow error-during-connect-this-error-may-indicate-that-the-docker-daemon-is-not-runn) - Please skip (currently not working):
In new tab runmake db-setupto seed the db with dummy data. - If you do not have a MYSQL client, install one, like DBeaver (cross-platform, advised), TablePlus (MacOS) or HeidiSQL (Windows).
The server is
128.0.0.1and user:rootand password isfb4aeaa6d860dbabe785675e(from docker-compose.yml). The tables should be populated. - The frontend should be visible at http://www.clothingloop.localhost:8080/ in your browser of choice.
4. Login
- Try logging in using
host@example.comit will send you a verification email. - go to http://localhost:8025/ to see the self hosted inbox (Mailpit), verify from there, now you should be logged in as a "host".
The following dummy accounts are available:
- Super user:
admin@example.com - Host:
host@example.com - Participant:
user@example.com
Development links
| Name | Link |
|---|---|
| mailpit | http://localhost:8025/ |
| website | http://www.clothingloop.localhost:8080/ |
| app | http://app.clothingloop.localhost:8080/ |
What's inside
4 numbered sections, 2 platform-specific make install guides, 1 fork and clone procedure, 1 Docker Compose startup sequence, 1 login step with dummy accounts, 1 link table
Change this for your project
- Replace
the-clothing-loop/websitewith your own repository URL - Replace
host@example.com,admin@example.com,user@example.comwith your own test accounts - Replace
fb4aeaa6d860dbabe785675ewith your own MySQL root password
Where it goes
Use as the system prompt for your model call, or as the base instructions in your agent framework.
Worth borrowing
- Provide dummy accounts with roles (super user, host, participant) for quick testing
- Include a link table for local development services (mailpit, website, app)
Related Documents
Character Persona
Defines a Fallout 2 roleplay persona for an LLM agent: charming rogue with social-first combat and moral code.
Claude Tool Use (Function Calling) Documentation
Teaches how to define and use Claude tool use (function calling) with Python, including schema rules, execution patterns, and best practices.
DiffusionDB
Documents a 14-million-image prompt dataset scraped from the Stable Diffusion Discord server, with metadata and download instructions.
coding: utf-8
Collates GPT-4.1 prompting tips from internal testing, covering agentic workflows, long context, chain of thought, and instruction following.