-
Notifications
You must be signed in to change notification settings - Fork 43
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
fix: update README.md #53
Changes from 3 commits
5ab1efd
c4d0721
56dd55a
59a0d5f
8bd3a0b
15a644c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,70 @@ | ||
# Amity Ui-Kit for Web (open-source) | ||
# Amity UI-Kit for Web (Open-Source) | ||
|
||
## Getting started | ||
## Prerequisites | ||
|
||
### Installation | ||
Before getting started, ensure that you have the following prerequisites installed on your system: | ||
|
||
Here are the steps to install ui-kit together with another project. | ||
- [Node.js](https://nodejs.org/) LTS version (currently version 20) | ||
- [pnpm](https://pnpm.io/) version 8 | ||
|
||
1. git clone [email protected]:AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource.git | ||
2. cd ./Amity-Social-Cloud-UIKit-Web-OpenSource | ||
3. npm ci | ||
4. npm link | ||
5. npm link ./`<path-to-your-app>`/node_modules/react ./`<path-to-your-app>`/node_modules/react-dom | ||
6. npm run build | ||
7. cd ./`<path-to-your-app>` | ||
8. npm link @amityco/ui-kit-open-source --save | ||
## Installation | ||
|
||
** We need to link react module to react module in destination project so that react is the same instance otherwise we will encounter [issues with react hook](https://medium.com/bbc-product-technology/solving-the-problem-with-npm-link-and-react-hooks-266c832dd019). | ||
To install the Amity UI-Kit together with another project, follow these steps: | ||
|
||
### Documentation | ||
1. Clone the repository using the following command: | ||
|
||
Please refer to our online documentation at https://docs.amity.co or contact a Ui-Kit representative at **[email protected]** for support. | ||
``` | ||
git clone [email protected]:AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource.git | ||
``` | ||
|
||
2. Navigate to the cloned repository's directory: | ||
|
||
``` | ||
cd ./Amity-Social-Cloud-UIKit-Web-OpenSource | ||
``` | ||
|
||
3. Install the dependencies using pnpm: | ||
|
||
``` | ||
pnpm install | ||
``` | ||
|
||
4. Build the project: | ||
|
||
``` | ||
pnpm run build | ||
``` | ||
|
||
5. Navigate to your application's directory: | ||
|
||
``` | ||
cd <path-to-your-app> | ||
``` | ||
|
||
6. Link the Amity UI-Kit repository to your application using one of the following package managers: | ||
- NPM: | ||
``` | ||
npm link file:<path-to-amity-ui-kit-repository> --save | ||
``` | ||
- Yarn (Classic): | ||
``` | ||
yarn add file:<path-to-amity-ui-kit-repository> | ||
``` | ||
- PNPM: | ||
``` | ||
pnpm i file:<path-to-amity-ui-kit-repository> | ||
``` | ||
|
||
Please note that this installation process is intended for local development environments. If you wish to publish your custom open-source project, you will need to create and publish a new npm package independently. | ||
|
||
## Documentation | ||
|
||
For detailed information and guidance on using the Amity UI-Kit, please refer to our comprehensive online documentation available at [https://docs.amity.co](https://docs.amity.co). | ||
|
||
If you require further assistance or have any questions, please don't hesitate to contact our dedicated UI-Kit support team at **[email protected]**. We are here to help you make the most of the Amity UI-Kit. | ||
|
||
## Contributing | ||
|
||
See [our contributing guide](https://github.com/EkoCommunications/AmityUiKitWeb/blob/develop/CONTRIBUTING.md) | ||
We welcome contributions from the community to help improve and enhance the Amity UI-Kit. If you are interested in contributing to this project, please review our [contributing guide](https://github.com/EkoCommunications/AmityUiKitWeb/blob/develop/CONTRIBUTING.md) for guidelines and best practices. | ||
|
||
Thank you for choosing the Amity UI-Kit for your web development needs! |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git clone https://github.com/AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource.git