|
4 | 4 | <br />
|
5 | 5 | <br />
|
6 | 6 | <div display="inline-block">
|
7 |
| - <a href="https://ecommerce.redisventures.com"><b>Hosted Demo</b></a> |
| 7 | + <a href="https://ecommerce.redisvl.com/"><b>Hosted Demo</b></a> |
8 | 8 | <a href="https://github.com/redis-developer/redis-product-search"><b>Code</b></a>
|
9 | 9 | <a href="https://redis.io/docs/stack/search/reference/vectors/"><b>Redis VSS Documentation</b></a>
|
10 | 10 | </div>
|
@@ -97,37 +97,21 @@ A formatted version is available for use with this demo at:
|
97 | 97 | ## Running the App with docker-compose
|
98 | 98 | Before running the app, install [Docker Desktop](https://www.docker.com/products/docker-desktop/).
|
99 | 99 |
|
100 |
| -#### Using Redis Cloud |
101 |
| - |
102 |
| -1. [Get your Redis Cloud Database](https://app.redislabs.com/) (if needed). |
103 |
| - |
104 |
| -2. `cp template.env .env` and update with cloud values |
| 100 | +1. Copy .env file |
105 | 101 |
|
106 | 102 | ```bash
|
107 |
| -REDIS_HOST=your-redis-host |
108 |
| -REDIS_PORT=your-redis-port |
109 |
| -REDIS_PASSOWRD=your-redis-password |
| 103 | +cp .env.template .env |
110 | 104 | ```
|
111 | 105 |
|
112 |
| -3. Run the App: |
113 |
| - ```bash |
114 |
| - $ docker compose -f docker-cloud-redis.yml up |
115 |
| - ``` |
116 |
| - |
117 |
| -> The benefit of this approach is that the db will persist beyond application runs. So you can make updates and re run the app without having to provision the dataset or create another search index. |
118 |
| - |
119 |
| -#### Running the app locally using docker |
120 |
| - |
121 |
| -1. `cp template.env .env` |
| 106 | +2. Run docker containers with `make` |
122 | 107 |
|
123 |
| -2. Run compose command |
124 | 108 | ```bash
|
125 |
| -$ docker compose -f docker-local-redis.yml up |
| 109 | +make build |
126 | 110 | ```
|
127 | 111 |
|
128 | 112 | Note: you can add `--build` and `--force-recreate` if caching old images.
|
129 | 113 |
|
130 |
| -## Running without docker-compose |
| 114 | +## Running local without docker-compose |
131 | 115 |
|
132 | 116 | ### Run frontend
|
133 | 117 |
|
|
0 commit comments