kennedymwavu / mwavu

Personal Website
https://mwavu.com/
GNU General Public License v3.0
14 stars 0 forks source link
ambiorix r

Personal Website

Made with ❤️ using Ambiorix

Prerequisites

Installation

  1. Clone the repo and cd into it:

    git@github.com:kennedymwavu/mwavu.git
    cd mwavu
  2. Create an env file (.Renviron) at the root dir of the project and add this variable:

    RENV_CONFIG_SANDBOX_ENABLED = FALSE
  3. Restore package dependencies:

    R -e "renv::restore()"

    The -e flag tells R to execute that expression and exit.

Run app

Rscript index.R

Then visit localhost:8000 to view the app.

Contact page messages

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:

  1. Create a mailgun account, add a sending domain, and create an API key.
  2. 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