-
Clone the repository
git clone https://github.com/mzmbq/learning-cards-app.git cd learning-cards-app -
Setup the environemnt
mv .env.example .env
-
Setup SSL certificates
a. Development: Generate with openssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout certs/nginx.key -out certs/nginx.crt
b. Production: Using Let's Encrypt certificates
export DOMAIN=yourdomain.com sudo certbot certonly --standalone -d $DOMAIN sudo cp /etc/letsencrypt/live/$DOMAIN/fullchain.pem certs/nginx.crt sudo cp /etc/letsencrypt/live/$DOMAIN/privkey.pem certs/nginx.key
-
Start the application
docker compose up
-
Access at http://localhost:8080
-
Notifications
You must be signed in to change notification settings - Fork 0
WIP
License
mzmbq/learning-cards-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|