In this section, we'll create an admin user that has privileges for managing community channels, community branding, users, and more.
You can create a super admin user by running the following command from the root of the project.
yarn create-super-admin email@example.com
Replace firstname.lastname@example.org with your real email address because, on that address, you'll receive notifications when someone follows you, sends you a message, etc.
By default, the newly created user's password is
orcaorca. So you can log in to the app by providing the email address you've used for creating an admin user and password
After login in, you can change the profile information and the password from the setting's account page.
All user-uploaded files: profile and cover pictures, post images, and community logo are uploaded to Cloudinary CDN for faster content delivery.
Cloudinary does not require credit card information and provides a reasonably good free plan.
After creating an account on Cloudinary, grab the Cloud name, API Key, and API Secret from its dashboard and fill in the corresponding environment variables in the
CLOUDINARY_CLOUD_NAME=Your Cloud Name HereCLOUDINARY_API_KEY=Your API Key HereCLOUDINARY_SECRET=Your API Secret Here
After saving the file, restart the server, and you'll be able to upload the files to the CDN.
For sending Account verification, Password recovery, and Notification emails, we use Mailgun.
Mailgun also provides a reasonably good free plan. If you create an account with credit card information, you get 5,000 free emails per month for 3 months. However, if you create an account without a credit card, you'll be restricted to sending to only authorized recipients.
After creating an account on Mailgun, you can use the default sandbox domain name or add your custom one. When done with domain configuration, grab the domain name from its dashboard and Private API key from the settings page and fill in the corresponding environment variables in the
MAILGUN_API_KEY=Your Private API Key HereMAILGUN_DOMAIN=Your Domain Name Here
Don't forget to restart the server after updating the
Google Analytics is already configured in Orca. You just need to update the
GOOGLE_ANALYTICS_ID in the Frontend's config file.
GOOGLE_ANALYTICS_ID: 'YOUR TRACKING OR MEASUREMENT ID IN HERE',