forked from acaldas/document-model-electron
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #461 from powerhouse-inc/feat-remove-react-aria
feat: remove react aria
- Loading branch information
Showing
21 changed files
with
1,419 additions
and
3,149 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,49 @@ | ||
# Document Model Editor Demo | ||
# Powerhouse Connect | ||
|
||
Demo Electron app to interact with Budget Statement documents. | ||
Open-source desktop and web application for document model management. | ||
Interact, create, edit and manage documents with ease. | ||
|
||
## Usage | ||
- Connect functions as a private editor & contributor tool for contributors of open organisations. It allows teams to manage internal documents with full control over the data ownership. Connect is available as stand-alone desktop application or in the cloud. | ||
- Connect offers a navigation menu for adding, synchronising and browsing document drives that are shared within an organisation or are private to the contributor. | ||
- Connect allows contributors to edit and work on different 'document model types' selected or defined by the organisation. | ||
|
||
Install dependencies: | ||
![app](./.github/app.png) | ||
|
||
```bash | ||
$ yarn install | ||
``` | ||
|
||
Start development mode: | ||
|
||
```bash | ||
$ yarn start | ||
``` | ||
|
||
Run browser version only: | ||
|
||
```bash | ||
$ yarn start:web | ||
``` | ||
## Prerequisites | ||
|
||
Create package for the current platform: | ||
You can follow these instructions to setup a dev environment: | ||
|
||
```bash | ||
$ yarn make | ||
``` | ||
- Install [**Node (LTS)**](https://nodejs.org/en/download/) | ||
- Clone this repository | ||
- Run `npm install` to install dependencies | ||
|
||
Build for Mac OSX: (only works on Mac) | ||
**Starting Connect** | ||
|
||
```bash | ||
$ npm make:mac | ||
npm start # start desktop app | ||
# OR | ||
npm run dev:web # start web app | ||
``` | ||
|
||
Build for Linux (deb and dpkg): (works on Linux or Mac) | ||
After initialized, you can access the web app at `http://localhost:5173`. | ||
|
||
```bash | ||
$ npm make:linux | ||
``` | ||
|
||
Build for Windows: (only works on Windows) | ||
**Create a packaged version of the desktop app** | ||
|
||
```bash | ||
$ npm make:windows | ||
npm run make # Create package for the current platform | ||
npm run make:mac # Create package for Mac OSX | ||
npm run make:linux # Create package for Linux | ||
npm run make:windows # Create package for Windows | ||
``` | ||
|
||
## Troubleshooting | ||
|
||
- For a complete list of *Electron Forge* options and requirements, visit the [official docs](https://github.com/electron-userland/electron-forge#usage). | ||
|
||
- If you're experiencing troubles with node-gyp on Windows 11, follow [this guide](https://devkimchi.com/2021/11/26/troubleshooting-node-gyp-package-on-windows11/). | ||
- If you're experiencing troubles with node-gyp on Windows 11, follow [this guide](https://devkimchi.com/2021/11/26/troubleshooting-node-gyp-package-on-windows11/). | ||
|
||
- If you're experiencing troubles with node-gyp on older versions, check out [this guide](https://spin.atomicobject.com/2019/03/27/node-gyp-windows/). | ||
|
||
- If you're experiencing troubles with node-gyp on older versions, check out [this guide](https://spin.atomicobject.com/2019/03/27/node-gyp-windows/). | ||
- To use yarn via Windows PowerShell, check [this guide](https://bobbyhadz.com/blog/yarn-cannot-be-loaded-running-scripts-disabled) | ||
|
||
- To use yarn via Windows PowerShell, check [this guide](https://bobbyhadz.com/blog/yarn-cannot-be-loaded-running-scripts-disabled) | ||
- For any other issues, reach out to our discord server [`#ask-powerhouse-team`](https://discord.com/channels/815917281728659516/883285185595047937) channel for help. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.