Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 1.93 KB

README.md

File metadata and controls

76 lines (51 loc) · 1.93 KB

Model Garden

‍🖌️ Material Design: Intuitive UI based on the world's most widespread design language.

🏃 Single Page Application: Fast, responsive UX increase productivity and avoids fullscreen refreshes.

🐍 Python Django and Postgres

Table of Contents

Run Database and Backend from Docker

  1. Create <model_garden_root>/backend/.env. Ask colleagues to share this file content.
  2. Build Docker Image: <model_garden_root>/backend/README.md#build-docker-image.
  3. Run the database container:
docker-compose up -d postgres
  1. Run the backend container:
docker-compose up -d backend
  1. Run the worker container:
docker-compose up -d worker 

Setup Front-end Locally

  1. Add <model_garden_root>/frontend/.env if absent.

  2. Setup local backend and frontend ports in <model_garden_root>/frontend/.env:

PORT=4200
REACT_APP_BACKEND_PORT=9000
  1. Install packages in <model_garden_root>/frontend/ dir
npm install
  1. Run front-end in <model_garden_root>/frontend/ dir
npm start

Run Linting

To run additional JS-lint use npm run lint -s in <model_garden_root>/frontend/ dir.

Learn More

This project was bootstrapped with Create React App.