Made with ❤️ using Ambiorix
Clone the repo and cd
into it:
git@github.com:kennedymwavu/mwavu.git
cd mwavu
Create an env
file (.Renviron
) at the root dir of the project and add this variable:
RENV_CONFIG_SANDBOX_ENABLED = FALSE
Restore package dependencies:
R -e "renv::restore()"
The -e
flag tells R to execute that expression and exit.
Rscript index.R
Then visit localhost:8000 to view the app.
I have used mailgun to forward messages entered in the contact page form to my email.
If you need the form to work you will have to:
Add these variables to your .Renviron
:
MAILGUN_API_KEY = your-mailgun-api-key
MAILGUN_SENDING_DOMAIN = your-mailgun-sending-domain
EMAIL = your-personal-email
docker build -t personal-website .
docker compose up -d
This will run the app on port 1028 of the host machine, so you will view it at localhost:1028
docker compose down