Skip to content

Soulmate-Lights/soulmate-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soulmate IDE

Lint Build/release

A desktop IDE for Soulmate.

Dev environment

$ foreman start

This command runs four processes (Procfile)

ide: yarn; LOCAL=true yarn start
server: cd services/soulmate-server && bundle install --quiet && PORT=3001 bundle exec rails s -p3001
firmware: cd services/soulmate-builder-server && yarn --quiet && PORT=8081 yarn start
emulator: cd services/wokwi-server && yarn --quiet && PORT=8080 yarn start
  • IDE: The local IDE electron app
  • server: The Rails app that stores patterns
  • firmware: Firmware builder server
  • emulator: Wokwi-based arduino emulator hex builder

If something goes wrong and Foreman crashes, use this command to show all running processes:

lsof -nP -iTCP:3000 -iTCP:3001 -iTCP:8080 -iTCP:8081 |grep -v homed

This is the best way to run the whole ecosystem at once. You won't get any previews or thumbnails of your local patterns, but that's on the list of things to do. Changes you make to the firmware (soulmate-builder-server/soulmate-core) will be used the next time you flash.

Recursively commit and push everything by running

./commit-all.sh "Commit all repos at once"