Skip to content

A web-based system for designing and simulating electronic (eSim) and Arduino circuits.

License

Notifications You must be signed in to change notification settings

jahez07/eSim-Cloud

Repository files navigation

EDA

EDA Tool and Arduino on Cloud

CodeFactor Documentation Status

Development branch status

Django Build and Tests Angular Build and Tests React Build and Tests Containers

Configuring Production Environment

  • Install Docker and docker-compose for server OS
  • git clone [email protected]:frg-fossee/eSim-Cloud.git && cd eSim-Cloud
  • cp .env .env.prod PLEASE CHANGE DEFAULT CREDENTIALS IN THE .env.prod FILE
  • docker-compose -f docker-compose.prod.yml --env-file .env.prod up --scale django=2 --scale celery=3 -d

Configuring Development Environment

Open in Cloud Shell

Setting up docker containers

  • Install docker-ce and docker-compose for your OS

  • Configure docker with github packages for pulling pre built images echo $GITHUB_TOKEN | docker login docker.pkg.github.com --username [github_username] --password-stdin

  • To build and run migrations ( Pulls latest dev image from github) /bin/bash first_run.dev.sh ( for the first time only )

  • To generate libraries and seed them docker-compose -f docker-compose.dev.yml run --rm django python manage.py seed_libs --location kicad-symbols

  • To Start all containers docker-compose -f docker-compose.dev.yml --env-file .env up

  • To manually build containers docker-compose -f docker-compose.dev.yml --env-file .env build --pull

For Setting up Backend containers only
  • Run Development environment

docker-compose -f docker-compose.dev.yml --env-file .env up django

For Frontend Containers and backend containers

( Please note these containers are only for dev environment, in production compiled files will be served by nginx)

  • To run eda-fronted along with all backend containers

docker-compose -f docker-compose.dev.yml --env-file .env up eda-frontend

  • To run arduino-frontend along with all backend containers

docker-compose -f docker-compose.dev.yml --env-file .env up arduino-frontend

Docker Containers

About

A web-based system for designing and simulating electronic (eSim) and Arduino circuits.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.1%
  • TypeScript 24.3%
  • Python 6.6%
  • HTML 3.9%
  • CSS 0.8%
  • Shell 0.2%
  • Dockerfile 0.1%