赛派号

翡翠与玛瑙区别是什么 Development

DevelopmentCode Sandbox​Go to https://codesandbox.io/p/github/excalidraw/excalidrawYou may need to sign in with GitHub and reload the pageYou can start coding instantly, and even send PRs from there!Local Installation​

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements​Node.jsYarn (v1 or v2.4.2+)GitClone the repo​git clone https://github.com/excalidraw/excalidraw.gitInstall the dependencies​yarnStart the server​yarn start

Now you can open http://localhost:3000 and start coding in your forite code editor.

Collaboration​

For collaboration, you will need to set up collab server in local.

Commands​Install the dependencies​yarnRun the project​yarn startReformat all files with Prettier​yarn fixRun tests​yarn testUpdate test snapshots​yarn test:updateTest for formatting with Prettier​yarn test:codeDocker Compose​

You can use docker-compose to work on Excalidraw locally if you don't want to setup a Node.js env.

docker-compose up --build -dSelf-hosting​

We publish a Docker image with the Excalidraw client at excalidraw/excalidraw. You can use it to self-host your own client under your own domain, on Kubernetes, AWS ECS, etc.

docker build -t excalidraw/excalidraw .docker run --rm -dit --name excalidraw -p 5000:80 excalidraw/excalidraw:latest

The Docker image is free of analytics and other tracking libraries.

At the moment, self-hosting your own instance doesn't support sharing or collaboration features.

We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了