Skip to content

Commit

Permalink
Updating stuff to not break during installation
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin committed Apr 4, 2024
1 parent 809c7a1 commit edf20cc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 96 deletions.
6 changes: 3 additions & 3 deletions 00_oldfiles/nginx.config → certificates/nginx.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ server {
# listen [::]:80 default_server;
listen 443 ssl;
server_name localhost;
root /home/papypom/cryptonator/;
ssl_certificate /home/papypom/cryptonator/certificates/cert.crt;
ssl_certificate_key /home/papypom/cryptonator/certificates/cert.key;
root /home/YOURUSER/cryptonator/public/;
ssl_certificate /home/YOURUSER/cryptonator/certificates/cert.crt;
ssl_certificate_key /home/YOURUSER/cryptonator/certificates/cert.key;


add_header X-Frame-Options "SAMEORIGIN";
Expand Down

This file was deleted.

This file was deleted.

10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,12 @@ Then sign and verify stuff using :
openssl x509 -req -in cert.csr -CA rootCert.pem -CAkey rootCA.key -CAcreateserial -out cert.crt -days 730 -sha256 -extfile openssl.cnf
openssl verify -CAfile rootCert.pem -verify_hostname localhost cert.crt

There, you have a full certificate chain (self signed, but usable nonetheless).
There, you have a full certificate chain (self signed, but usable nonetheless). Don't forget to update your nginx config with the nginx.config file in the certificate folder.

## Installing stuff

After cloning this repo, copy the `.env.example` to `.env`, modify the DB connexion if needed (it will create a SQLite database by default) and run the following commands :

php composer install
npm install
php artisan migrate

0 comments on commit edf20cc

Please sign in to comment.