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
- While using the geolocalizer, you may encounter weird positioning at first sight, because the point computation is made from the center of mass of the whole country.
118
+
i.e, for France auto-location always creates a point near Marocco in the ocean. This is because of French Guiana which is part of the country geometry.
58
119
59
-
- Geospatial music editor via [Musicbrainz](https://musicbrainz.org) API
A checksum is calculated based on music name, artist name and album name, to make the database resilient to filesystem changes.
77
139
78
140
## Setup
79
141
80
-
[Docker](https://www.docker.com/)
142
+
Requires only [Docker](https://www.docker.com/) to launch application.
143
+
144
+
[NPM](https://www.npmjs.com/) if you want to build frontend as a desktop executable.
145
+
81
146
82
147
# Development
83
148
@@ -105,28 +170,31 @@ full dockerized environment :
105
170
- database and schema : `music`.`public`
106
171
- external database manager recommended [DBeaver](https://dbeaver.io/), for as long as I don't provide pgadmin container.
107
172
108
-
### Notes
173
+
##FAQ
109
174
110
-
config update :
175
+
### Configuration update (.env)
111
176
112
-
If you want to update .env file configuration to add your email or link an other folder, don't forget to run the following command to apply changes:
177
+
You need to update your .env file configuration to add your email or link an other folder, don't forget to run the following command to apply changes:
113
178
-`docker compose stop backend`
114
179
-`docker compose up backend --build`
115
180
116
-
`backend` container may fail to start with error `exec /app/run_dev.sh: no such file or directory`.
181
+
### "[backend] exec /app/run_dev.sh: no such file or directory"
182
+
This error may occur on backend start
117
183
- run `dos2unix ./run_dev.sh` then `docker compose restart backend`
118
184
119
-
`backend` may fails to connect to database as it doesn't wait enough for the first db init :
185
+
### Backend cannot connect to database
186
+
`backend` may fails to connect to database because it doesn't wait enough for the first db init :
120
187
121
188
- Wait for the db container log line `LOG: database system is ready to accept connections`. It may take a while and you may see database stopping and restarting in the process.
122
189
- Then run `docker compose restart backend`.
123
190
124
-
`frontend` may fails to bind adress with the error `listen EADDRINUSE: address already in use`.
191
+
### "[frontend] listen EADDRINUSE: address already in use"
192
+
Don't know why. may happen sometimes, we are not alone.
125
193
- run `docker compose up frontend --force-recreate`
126
194
127
-
## dev Notes
195
+
## Dev notes
128
196
129
-
front end dev, set this variable to disable API calls if you do not plan to work with the server launched
197
+
Run frontend without server, use mocked data / API
0 commit comments