Closed awm086 closed 5 years ago
Ahh I forgot to add an example config.toml https://github.com/mpdroog/invoiced/blob/033232d83c540cb18f6cfe98c473f5a3436c18e1/config.example.toml
Considering it closed.
@mpdroog coming back here while trying to give it another try I am getting this now:
./invoiced -d ~/billingdb
panic: reference not found
I created the directory ~/billingdb
And I cannot figure out why this is happening.
go version go1.13.1 darwin/amd64
So perhaps the readme needs update as what should one do if s/he wants to run this locally. i.e.
Great you want to give invoiced a second try :) I have to admit, I hacked it together to get myself a distributed billing system and the 'rough edges' I've never shaved off (lack of time)
If you want to try, I've updated the README that shows what to do (just tested it manually)
Thanks, tried it again and it works but I cannot login. What are the correct credentials? I see multiple references for users in config.toml and in billingdb entities.toml
...
I am hoping to use this as a learning project and perhaps I can contribute back with your help .
Update: after going through the instructions again it seems that one must commit whatever is in billingdb before building/running. The credentials salt and hash must be in the git index it seems. So now I have that working but it seems the app is missing some compiled JS anf assets such as app.js. I keep getting a 404 for them
What are the correct credentials?
The email from entities.json and the password you gave to contrib/gen/gen
.
(If you run contrib/gen/gen
it will ask you for a password and then generate an IV, Salt and Hash
you can enter in entities.json
! Be careful to commit everything before starting invoiced (it reverts any git pending files on start in the billingdb-folder)
Update: after going through the instructions again it seems that one must commit whatever is in billingdb before building/running.
Correct
it seems the app is missing some compiled JS anf assets such as app.js
If you're missing app.js I guess you didn't run the first build step?
cd static-src
yarn install
npm run dev
I tried to follow the documentation and got this