-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: launch everything from the same docker compose #2
Conversation
the name it had before made esphome think it was an esp32 config file
login_login is a pleonasme, it's useless to say login twice
it's the only required file for the database, therefore it doesn't need to be in another directory
.gitignore
Outdated
.idea | ||
# vim backup files | ||
*.swp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*.sw[pon]
would be shorter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't knew you could do that, thank's
README.md
Outdated
- esp32/config/secrets.example.yaml | ||
|
||
--- | ||
Once done you want to get the ip address of the computer that will run the docker containers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is IP address mandatory or can we use a host name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed it and it now use a host name
![web interface](/assets/dashboard.png) | ||
|
||
## ESP 32 Installation | ||
This project uses esp home to manage the esp32, you can configure the esp32 by following the instructions below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a link to the esp home project?
README.md
Outdated
|
||
--- | ||
Finally you can fill the `esp32/config/secrets.yaml` with the credentials of the wifi\ | ||
Once that's done you can create a postgres database called `memoires-info` from the `psql.sql` file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Db creation should be done with the POSTGRES_DB en Var. See doc https://hub.docker.com/_/postgres
See also the "Initialization scripts" section to pick psql.sql on the first execution.
before if you were making a request to anything.domain.com, the domain would be domain.com. Now the domain will be anything.domain.com it means that now everything starting with login.memoires-info.com will be run as php code instead of being ignored the reason it worked before was because the uri contained "login."
User now don't need to specify the port when accessing the web server
now postgres data won't apear in root
* feat: display averages for the last two months, refactor the way data is retrieved and placed in the pie chart * feat: token added to link for API data, change to display of month element * feat: link login element with login backend * feat: link login element with login backend * feat: the token in sampleContext takes the value from the user who logged in * feat: store the token in localstorage * fix: fix small errors to launch npm run build * feat: added login functionality, created a function to get tokens from localstorage * style: change input form design * feat: redirect the user on login if the token is wrong * feat: create a function that checks for 401 errors * refactor: the method of collecting data and putting it into the monthly chart * feat: add log out button
No description provided.