52 lines
2.2 KiB
Markdown
52 lines
2.2 KiB
Markdown
# CS4430 Project
|
|
|
|
## Best Guide So Far
|
|
[https://www.sitepoint.com/php-amp-mysql-1-installation/]
|
|
[https://www.sitepoint.com/getting-started-mysql/]
|
|
[https://www.sitepoint.com/mysql-3-getting-started-php/]
|
|
[https://www.sitepoint.com/publishing-mysql-data-web/]
|
|
|
|
## Page Responsibilities
|
|
|
|
### Bryan
|
|
|
|
- "Search" `search.html`
|
|
- "Message Someone" `sendMessage.html`
|
|
|
|
### Logan
|
|
|
|
- "Find a New Friend" `findFriend.html`
|
|
- "Check Pending Friends" `pendingFriend.html`
|
|
|
|
### William
|
|
|
|
- "See Messages" `messages.php`
|
|
- "See Friends" `friends.php`
|
|
|
|
## Notes
|
|
|
|
- Can use `ps waux | grep nginx` to check if the NGINX service is running
|
|
- MySQL's documentation sucks.
|
|
- Will be using `mysql_secure_installation --use-default`, for now as I can't find what the defaults actually are.
|
|
- [https://dev.mysql.com/doc/refman/5.7/en/mysql-secure-installation.html]
|
|
- Use `nginx -s reload` to reload the web server's configurations
|
|
- William will host an instance at [https://friendbook.williammiceli.io/] that is publically accessible for testing. If anyone wants me to change the version/image used, just let me know.
|
|
|
|
### Traefik Configuration Labels
|
|
|
|
```
|
|
traefik.enable: true
|
|
traefik.http.routers.CS4430-Project-router-http.entrypoints: http
|
|
traefik.http.routers.CS4430-Project-router-http.rule: Host(`friendbook.williammiceli.io`)
|
|
traefik.http.routers.CS4430-Project-router-http.middlewares: CS4430-Project-redirectHttp
|
|
traefik.http.routers.CS4430-Project-router-http.service: CS4430-Project-service-http
|
|
traefik.http.routers.CS4430-Project-router-https.entrypoints: https
|
|
traefik.http.routers.CS4430-Project-router-https.rule: Host(`friendbook.williammiceli.io`)
|
|
traefik.http.routers.CS4430-Project-router-https.tls: true
|
|
traefik.http.routers.CS4430-Project-router-https.tls.certresolver: letsencrypt
|
|
traefik.http.routers.CS4430-Project-router-https.service: CS4430-Project-service-http
|
|
traefik.http.middlewares.CS4430-Project-redirectHttp.redirectscheme.permanent: true
|
|
traefik.http.middlewares.CS4430-Project-redirectHttp.redirectscheme.scheme: https
|
|
traefik.http.services.CS4430-Project-service-http.loadbalancer.passhostheader: true
|
|
traefik.http.services.CS4430-Project-service-http.loadbalancer.server.port: "80"
|
|
``` |