mirror of
https://github.com/xodio/xod.git
synced 2026-03-07 01:06:53 +01:00
70fa4fcb260eff6a3ea2577e39374c5f4673afbd
XOD
Deployment on localhost
Install all dependencies and perform package cross-linking with:
$ yarn install
Build the code:
$ yarn run build
Browser IDE
$ yarn run dev -- xod-client-browser
Open http://localhost:8080 in your browser.
Desktop IDE
$ yarn run electron-rebuild
$ yarn run start:xod-client-electron
Maintenance Scripts
Cleaning
yarn run clean:distremoves all build artifactsyarn run clean:node_modulesremoves all installednode_modulesin all packagesyarn run cleanresets the sandbox to just-cloned state
Verification
yarn run lintperforms lint-checking in all packagesyarn run test -- <name> --onlyruns test on package with specified<name>. E.g.yarn run test -- xod-client --only.yarn run test -- <name>runs test on package with specified<name>, and all packages it depends on directly or indirectly. E.g.yarn run test -- xod-client.yarn testtests all packagesyarn run verifybuilds lints and tests; run this prior to pull requestyarn run ciinstalls and verifies; used as a script for CI-server
Building
yarn run buildbuilds all packagesyarn run build -- <name> --onlybuilds a package with specified<name>, e.g.yarn run build -- xod-cli --onlyyarn run build -- <name>builds a package with specified<name>and all its dependencies, e.g.yarn run build -- xod-client-electronyarn run dev -- <name> --onlybuilds a package with specified<name>and stays in watch mode with auto-rebuild when its files change, e.g.yarn run dev -- xod-cli --onlyyarn run dev -- <name>builds a package with specified<name>and all its dependencies, then stay in watch mode looking for changes in that package or any of its dependencies; e.g.yarn run dev -- xod-client-browser
Packaging
yarn run bootsrapcreates all necessary links between local packages and installs their dependencies
Distributing
-
Creates a distribution artifact corresponding to host's platform:
yarn install yarn run verify yarn run electron-dist
Contributing
Feel free to contribute to the project! Make sure to read contribution guidelines.
Jetbrains users can benefit from XOD Jetbrains Live Template.
Description
Languages
JavaScript
78.9%
C++
11.7%
Reason
4.9%
SCSS
4.2%
Shell
0.1%