-
Notifications
You must be signed in to change notification settings - Fork 3
Local Development Setup (Recommended)
Ádám Hidegkuti edited this page Dec 15, 2025
·
2 revisions
This project uses Docker and VS Code Dev Containers to standardize the development environment. This eliminates manual setup and ensures the project runs identically for every developer, on any OS.
Ensure you have the following installed and configured:
- Docker Desktop must be installed and running before you begin
- Visual Studio Code
- Dev Containers Extension extension installed in VS Code
-
Clone the repository: You can use GitHub Desktop or this command:
git clone https://github.com/CosmosTUe/Cosmos.git
- Open the folder in VS Code.
- Click "Reopen in Container" in the bottom-right pop-up.
- If the pop-up is missing, press
F1->Dev Containers: Reopen in Container.
- If the pop-up is missing, press
Do NOT clone this repository manually. It will result in an unusably slow environment. Instead, use the following VS Code feature:
- Open a new, empty VS Code window
- Press
F1(orCtrl+Shift+P) - Select:
Dev Containers: Clone Repository in Container Volume - Paste the repository URL:
https://github.com/CosmosTUe/Cosmos.git
This process will set up an isolated, high-performance environment automatically.
The first container build takes several minutes. A setup script runs automatically and handles:
- Copying
dev.secrets.jsonto/etc/secrets.json - Installing Python (Pipenv) and Node.js dependencies
- Running database migrations
- Creating a default superuser
Wait for the terminal to display: SETUP FINISHED!
- Press
F5(or click the Green Play button in the "Run and Debug" tab) - Open
http://localhost:8000in your browser
You can access the Django admin interface to manage the database, create users, and perform administrative tasks.
-
URL:
http://localhost:8000/admin/ -
Username:
admin -
Password:
admin