```
4. Set up encryption
- ```
- rails db:encryption:init
- EDITOR="nano" rails credentials:edit
- ```
+ ```
+ rails db:encryption:init
+ EDITOR="nano" rails credentials:edit
+ ```
5. Set up TOTP codes (maybe needed in PROD)
- ```
- rails generate migration AddConsumedTimestepToUsers consumed_timestep:integer
- RAILS_ENV=production rails db:migrate
- ```
+ ```
+ rails generate migration AddConsumedTimestepToUsers consumed_timestep:integer
+ RAILS_ENV=production rails db:migrate
+ ```
5. Start the Rails server:
rails server
```
+## Required Environmentals
+
+You'll need some configuration of the following:
+
+```
+MYSQL_SOCKET=
+MYSQL_PASSWORD=
+MYSQL_USERNAME=
+MYSQL_HOST=
+RAILS_ENV=
+SECRET_KEY_BASE=
+SMTP_ADDRESS=
+SMTP_PORT=
+SMTP_USERNAME=
+SMTP_PASSWORD=
+HCAPTCHA_SITE_KEY=
+HCAPTCHA_SECRET_KEY=
+BUTTONDOWN_API_KEY=
+STRIPE_PUBLISHABLE_KEY=
+STRIPE_SECRET_KEY=
+ADMIN_EMAIL=
+OTP_SECRET_KEY=
+RAILS_MASTER_KEY=
+```
+
## API Usage
Please refer to the [API Documentation](API_DOCUMENTATION.md) for detailed information on how to use the API.