Closed chiel1112 closed 2 months ago
here is my related abrechnung.yaml config: and here is my postgresql config:
The host key in the database section should not contain the port of the database server, there's a separate key in the config to configure the port.
database:
host: localhost
user: ...
password: ...
dbname: ...
port: 5433
if i try that it still tries to connect to 5432...
in the end i realised that i currently have nothing else running on 5432 anyway so now db migrate does work
However, I still cannot create an user, as it gives this error...
okay, it did work, but now I can't figure out how to start abrechnung itself... (I did receive an email confirming my account creation, when i executed abrechnung mailer) but cant seem to figure out how to start the web server
you need to build the webapp with npx nx build
in the frontend directory to get the production build which you then serve with any webserver, e.g. nginx.
npx nx serve
to get the development build.
and just to confirm, running abrechnung api
should just start up the api right, and then the frontend should work?
Because right now when i moved the files (that include the index.html file) to /var/www/html i just get this so i presume my api isn't started?
yes, the api needs to be running as it is contacted by the website/app.
you have to provide a config.json
in your web root, you can copy and edit it from the example config (currently in frontend/apps/web/src/assets/config.json
So, while I am sure that I am just missing something, I can't seem to find what I am missing here to create this error. All I can find is that it has something to do with wrong DNS when googling this issue? However my postgresql and abrechnung config just point towards localhost...