diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2c766e14..ed849cb0 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -31,6 +31,16 @@ ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902 ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234 ``` +Visit , log in with an email address, then enable Developer Mode in HCA settings. After that, navigate to the "Developers' Corner" and "app yourself up", specifying a callback URL of `http://localhost:3000/auth/hca/callback` and minimum scopes of `email`, `slack_id`, and `verification_status`. + +Then, fill out the following fields in your `.env` file: + +```env +# Hack Club Account +HCA_CLIENT_ID= +HCA_CLIENT_SECRET= +``` + Start the containers: ```sh @@ -44,6 +54,12 @@ We'll now setup the database. In your container shell, run the following: app# bin/rails db:create db:schema:load db:seed ``` +Run the Vite build with SSR (server-side-rendering): + +```bash +app# bin/vite build --ssr +``` + Now, let's start up the app! ```bash