Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : webpack excalidraw build initialized #4

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Whiteboard
Whiteboard Integration App for Rocket.Chat

## Local Setup Guide
- First `cd client` folder and run `npm install` to install all packages
- Run `npm build` to build webpack bundle for excalidraw react app
- Run `npm build:excalidraw` to execute build.js script to write build scripts to excalidraw.ts and excalidraw html to excalidrawContent.ts
- Run `cd ../whiteboard/` and ` $  rc-apps deploy --url http://localhost:3000 --username ${username} --password ${password}` ,add `--update` flag to if you want update your app changes
To verify successful build you can view endpoint `/excalidraw` in whiteboard-app settings and access the react app through url provided

## Getting Started
Now that you have generated a blank default Rocket.Chat App, what are you supposed to do next?
Start developing! Open up your favorite editor, our recommended one is Visual Studio code,
Expand Down
24 changes: 24 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Loading