You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -103,26 +93,116 @@ Now change the .env with yours and run the container.
103
93
> The **password** must be **Hashed** in the env and also if you add that in compose file the "$" characters must be doubled to not recognized as variable by docker engine.
104
94
105
95
```console
106
-
docker compose up
96
+
docker compose up -d
107
97
```
108
98
109
-
### <aname="monero">2. Monero</a>
99
+
### <aname="monero">2.1. Monero</a>
110
100
111
-
You can use Make file by below command in Monero directory to get and config Monero related repositories.
101
+
Create and run a monero node. If you already have a synced node with zmq enabled skip to next step.
From last line of Dockerfile remove ENTRYPOINT and CMD and replace it with only `ENTRYPOINT ["monero-lws-daemon"]`
123
+
124
+
Final Dockerfile will be ending like this:
125
+
126
+
```console
127
+
...
128
+
EXPOSE 8443
129
+
130
+
ENTRYPOINT ["monero-lws-daemon"]
131
+
```
132
+
133
+
### <aname="monero-lws">2.3. Run Monero and Monero-LWS</a>
134
+
135
+
Add following `docker-compose.yml` to /monero directory we created on step 2.1 considering monero project ( step 2.1 ) is inside `./monero/monero` folder and monero lws ( step 2.2 ) is on `./monero/monero-lws` directory
@@ -143,7 +223,7 @@ After it is synced and ready, go next.
143
223
144
224
```console
145
225
cd server
146
-
cp .env.example
226
+
cp .env.example .env
147
227
```
148
228
149
229
Change .env file with yours.
@@ -156,18 +236,44 @@ docker compose up -d
156
236
157
237
```console
158
238
cd client
159
-
cp .env.example
239
+
cp .env.example .env
160
240
```
161
241
162
-
Change .env file with yours. and also change the env at the end of "Dockerfile" file.
242
+
Change .env file with yours.
163
243
164
244
```console
165
245
docker compose up -d
166
246
```
167
247
168
-
## Notes
248
+
## <aname="development">Development</a>
249
+
250
+
For development you might not need monero or monero-lws if you don't make tips or create new pages ( any payments related to monero ). If you need lws instance access or can't run yours please contact us.
251
+
252
+
### Server
253
+
254
+
Add your .env file based on .env.example.
255
+
256
+
Run backend locally with docker-compose.dev.yml file
257
+
258
+
```console
259
+
docker compose -f docker-compose.dev.yml up -d
260
+
```
261
+
262
+
Then run the Nest project itself use node version more than 20.x.x
263
+
264
+
```
265
+
npm i
266
+
npm run start:dev
267
+
```
169
268
170
-
See [NOTES.md](./NOTES.md) for additional notes and information about the technical details of the project.
269
+
### Client
270
+
271
+
Add your .env based on .env.example, then run the project:
0 commit comments