64 lines
1.1 KiB
Markdown
Raw Normal View History

2024-08-22 17:48:10 +02:00
# Codex Marketplace UI
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
This project provide Marketplace UI for Codex.
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
## Philosophy
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
This CSS is written with semantic style. For more details check this [link](https://maintainablecss.com/chapters/semantics).
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
## Prerequisites
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
- Node 18+
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
## Install
Run the npm install command:
```
npm install
```
## Run
### Links
In order to run the UI, you need link some internal dependencies because it is not published yet< >
#### Codex SDK
Clone the [Codex SDK](https://github.com/codex-storage/codex-js).
Follow the instructions to install and build the SDK, then run this command in the SDK repository:
```
npm link
```
Now in the current repository, you'll we able to link your local SDK build by running:
2024-08-22 17:41:44 +02:00
2024-08-22 17:48:10 +02:00
```
npm link @codex/sdk-js
```
#### Codex Marketplace Components
Clone the [Codex SDK](https://github.com/codex-storage/codex-marketplace-ui-components).
Follow the instructions to install and build the SDK, then run this command in the SDK repository:
```
npm link
2024-08-22 17:41:44 +02:00
```
2024-08-22 17:48:10 +02:00
Now in the current repository, you'll we able to link your local SDK build by running:
```
npm link @codex/marketplace-ui-components
```
#### Codex SDK
```
npm run dev
```