https://github.com/gameruiner/errantdreams
https://github.com/gameruiner/errantdreams
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gameruiner/errantdreams
- Owner: GameRuiner
- License: mit
- Created: 2025-08-01T13:41:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T10:14:08.000Z (12 months ago)
- Last Synced: 2025-08-02T12:28:29.745Z (12 months ago)
- Language: Python
- Size: 344 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Errant Dreams
## Stack
- [React](https://reactjs.org/) - A JavaScript library for building user interfaces.
- [Django](https://www.djangoproject.com/) - Django makes it easier to build better web apps more quickly and with less code.
- [Vite](https://vitejs.dev/) - Next Generation Frontend Tooling
- [Typescript](https://www.typescriptlang.org/) - JavaScript with syntax for types.
## Project structure
```
$PROJECT_ROOT
│
├── src/backend # backend file
│
├── src/ui # React files
│
├── src/templates # Django Templates
│
├── src/staticfiles # Django Static Files
```
---
### Run the Code
#### For Backend
- Create Virtual Environment for Python
```bash
python3 -m venv venv
```
- Activate Virtual Environment
```bash
source venv/bin/activate
```
- Install Dependencies
```bash
cd src
pip install -r requirements.txt
```
- Make Migrations
```bash
cd src
python manage.py makemigrations
python manage.py migrate
```
- Run Server
```bash
cd src
python manage.py runserver
```
#### For Frontend
- Install Dependencies
```bash
cd src/ui
pnpm i
```
- Run Vite
```bash
cd src/ui
pnpm dev
```
- For production
```bash
cd src/ui
pnpm collectstatic
```