|
|
3 月之前 | |
|---|---|---|
| admin_frontend | 3 月之前 | |
| api | 3 月之前 | |
| billing | 3 月之前 | |
| cms | 3 月之前 | |
| ecoloop | 3 月之前 | |
| frontend | 3 月之前 | |
| locale | 3 月之前 | |
| orgs | 3 月之前 | |
| posts | 3 月之前 | |
| public_frontend | 3 月之前 | |
| recycle_core | 3 月之前 | |
| settings | 3 月之前 | |
| static | 3 月之前 | |
| templates | 3 月之前 | |
| theme | 3 月之前 | |
| translations | 3 月之前 | |
| .gitignore | 3 月之前 | |
| AGENTS.md | 3 月之前 | |
| Dockerfile | 3 月之前 | |
| Procfile.tailwind | 3 月之前 | |
| README.md | 3 月之前 | |
| docker-compose.yml | 3 月之前 | |
| er.dot | 3 月之前 | |
| erd.pdf | 3 月之前 | |
| erd.png | 3 月之前 | |
| manage.py | 3 月之前 | |
| package-lock.json | 3 月之前 | |
| package.json | 3 月之前 | |
| project_scopes | 3 月之前 | |
| requirements.txt | 3 月之前 | |
| seq.png | 3 月之前 | |
| seq.txt | 3 月之前 | |
| seq_001.png | 3 月之前 |
Ecoloop is a Django + DRF backend for recycling businesses and factories to manage pickups, pricing, invoices/payouts, and a bidding marketplace for scrap lots. It supports multi-organization setups, JWT auth, and a Tailwind-powered UI layer.
.env and set SECRET_KEY, DEBUG, DB_*, ALLOWED_HOSTSdocker-compose up --build (web on http://localhost:8024)python manage.py migratepython manage.py runserverpython manage.py seed_ecoloop/api/schema/swagger-ui/python manage.py migrate — apply DB migrationspython manage.py seed_ecoloop — seed demo org, users, materials, pickup, weigh ticket, invoice, listing/bidpython manage.py ecoloop_auto_close_award — auto-close/award expired listingsecoloop/settings.py via django.contrib.sites and SITE_ID..env includes defaults for local hosts: ALLOWED_HOSTS=localhost,127.0.0.1,.lvh.me.env CSRF for Docker port: CSRF_TRUSTED_ORIGINS=http://localhost:8024,http://*.lvh.me:8024python manage.py migrate (applies Sites tables)alpha.lvh.me and beta.lvh.me.http://alpha.lvh.me:8024 and http://beta.lvh.me:8024.get_current_site(request) or adding a ForeignKey to Site.ecoloop/ settings and URLs; api/ public endpoints; recycle_core/ domain models/APIstemplates/, static/, media/; Entrypoints: manage.py, docker-compose.yml, Dockerfile