Use the automated build image of our most recent release
docker pull mitjajez/sonce:latest
If you have installed node and meteor properly, skip to Building
Debian users need install newer node, and "link" nodejs to node:
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y nodejs-legacy
git clone https://github.com/mitjajez/SONCE.git
cd SONCE && meteor npm install
meteor build --architecture=os.linux.x86_64 --directory /path/build-dir
cd /path/build-dir/
cd bundle/programs/server/ && meteor npm install --production && cd ../../..
Start your mongod db and run sonce:
docker run -d --name "sonce_mongodb" mongo
PORT=3000 MONGO_URL=mongodb://localhost:27017/sonce ROOT_URL=http://localhost node bundle/main.js
SONCE is under heavy development and the amount of functionality will grow in the future. Contributions are welcome. Please see CONTRIBUTING.md
Prerequisites:
Now just clone and start the app:
git clone https://github.com/mitjajez/SONCE.git
cd SONCE && npm install
meteor
Meteor version of SONCE is up to be used as educational tool and could be the new way of communication with as./prof./mentor while learning electronics by drawing and testing. Get focus on how circuit work and not how to get simulation result. See topology of circuit, see all available matrixes.
- Adding Elements value editor
- Adding Circuit net-based Netlist
- Graphviz circuit graph with viz.js
- SVG export
- Circuit Matrics
- REST API
- netlist api URL: circuit/:id/svg
- svg embed URL: circuit/:id/svg
- warning on SC, OC
- Make circuit as component
- Moving Elements
- Editing wires
- Mentor mode ("read-only", zoom, pan, mouse)
- Save circuit view for registered users
- Embeding MediaWiki, Moodle, ...
Submit issue for wanted features on Github Issues
SONCE is slovenian sun.
Note that SONCE is distributed under the MIT License.
SONCE will be free forever, but you can help us speed-up the development!