grid-apps-cmms/readme.md

103 lines
3.6 KiB
Markdown
Raw Normal View History

2022-02-23 22:39:26 -05:00
## Grid.Space Web Applications
2020-06-14 21:51:32 -04:00
2020-06-14 22:03:13 -04:00
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fgrid.space%2F)](https://grid.space/kiri/)
2022-09-14 14:17:38 -04:00
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/GridSpace/grid-apps/rel-3.3)
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/GridSpace/grid-apps/rel-3.4)
2022-10-15 15:54:36 -04:00
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/GridSpace/grid-apps/rel-3.5)
2022-10-22 12:16:24 -04:00
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/GridSpace/grid-apps/rel-3.6)
2020-06-14 21:51:32 -04:00
2022-02-23 22:39:26 -05:00
[`Grid.Space`](https://grid.space) hosts [several live versions](https://grid.space/choose) of this code
[`Kiri:Moto`](https://grid.space/kiri) is a browser-based Slicer for 3D printers, CNC mills, and Laser cutters
[`Mesh:Tool`](https://grid.space/mesh) is a browser-based mesh repair and editing tool
## Primary Documentation
https://docs.grid.space/projects/kiri-moto
https://docs.grid.space/projects/mesh-tool
## Development Activity
2020-06-14 21:51:32 -04:00
2020-12-14 22:18:04 -05:00
![GitHub commit activity](https://img.shields.io/github/commit-activity/w/GridSpace/grid-apps)
2020-06-14 21:51:32 -04:00
![GitHub last commit](https://img.shields.io/github/last-commit/GridSpace/grid-apps)
![GitHub contributors](https://img.shields.io/github/contributors/GridSpace/grid-apps)
2022-02-23 22:39:26 -05:00
## Community Engagement
2020-06-14 21:51:32 -04:00
2022-02-23 22:39:26 -05:00
[Discord](https://discord.com/invite/suyCCgr)
| [YouTube](https://www.youtube.com/c/gridspace)
| [Twitter](https://twitter.com/grid_space_3d)
2020-06-14 21:51:32 -04:00
2022-02-23 22:39:26 -05:00
[![Discord](https://img.shields.io/discord/688863523207774209)](https://discord.com/channels/688863523207774209/688863523211968535)
![GitHub](https://img.shields.io/github/license/GridSpace/grid-apps)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/gridspace3d?locale.x=en_US)
![Twitter Follow](https://img.shields.io/twitter/follow/grid_space_3d?label=follow&style=social)
## Testing Locally (with Docker)
2021-12-26 22:26:53 -05:00
```
git clone git@github.com:GridSpace/grid-apps.git
cd grid-apps
docker-compose -f src/dock/compose.yml up
```
2022-02-23 22:39:26 -05:00
## Testing Locally (with NodeJS)
2017-04-18 17:09:33 -04:00
```
2020-06-14 21:51:32 -04:00
git clone git@github.com:GridSpace/grid-apps.git
cd grid-apps
2020-05-03 20:31:08 -04:00
npm i
2020-06-29 18:42:57 -04:00
npm install -g @gridspace/app-server
2020-06-16 22:52:17 -04:00
gs-app-server --debug
2017-04-18 17:09:33 -04:00
```
2021-12-26 22:26:53 -05:00
to start a local instance of the apps. then use a browser to open
[localhost:8080/kiri](http://localhost:8080/kiri)
2021-01-02 11:24:07 -05:00
if installing the app-server fails or gives you permissions errors, then your node installation (on linux/mac) is installed as another user (like root). try instead:
```
sudo npm install -g @gridspace/app-server
```
Alternatively, if you are using a packaged version of npm that ships with
a Linux distribution, but still want to install in your home directory, you
can use
```
npm config set prefix ~/.local
```
If gs-app-server is not found, then perhaps ~/.local/bin is not in
your path. You can either add it to your path, or you can run:
```
2021-09-27 19:34:59 -04:00
~/.local/bin/gs-app-server --debug
```
2021-08-14 22:13:06 -04:00
2021-12-26 19:43:48 -05:00
You can now access your environment of grid-apps by going to
2021-12-26 17:20:39 -05:00
[localhost:8080/kiri](http://127.0.0.1:8080/kiri)
2022-02-23 22:39:26 -05:00
## Windows Developers
2020-06-14 20:59:41 -04:00
2020-06-14 21:51:32 -04:00
this git repo requires symbolic link support. on Windows, this means you have to clone the repo in a command shell with Administrator privileges.
2017-04-18 17:09:33 -04:00
2022-02-23 22:39:26 -05:00
## Other Start Options
2017-04-18 17:09:33 -04:00
```
2020-06-16 22:52:17 -04:00
gs-app-server
2017-04-18 17:09:33 -04:00
```
serves code as obfuscated, compressed bundles. this is the mode used to run on a public
2020-06-16 22:52:17 -04:00
web site.
2017-04-18 19:51:08 -04:00
2020-03-10 23:21:20 -04:00
requires node.js 12+
2021-01-02 11:24:07 -05:00
2022-02-23 22:39:26 -05:00
## Javascript Slicing APIs
2021-01-02 11:24:07 -05:00
2021-03-01 22:59:29 -05:00
A script include that injects a web worker into the page that will asynchronously perform any of Kiris slicing and gcode generation functions. And a frame messaging API for controlling Kiri:Moto inside an IFrame.
2021-01-02 11:24:07 -05:00
2021-03-01 22:59:29 -05:00
* https://grid.space/kiri/engine.html
* https://grid.space/kiri/frame.html