Skip to main content

Installation

Step 1 — Request Repository Access

The source code is hosted in a private repository. To gain access, you have two options:

Option A — Email Request

Send an email to admin@tailoredtech.tech with the following information:

  • Your GitHub username
  • Your GitHub email address
  • Your requested access level (e.g., read-only, contributor)

Option B — Maintenance System Request

If you already have clearance to the Tailored Tech maintenance system, you can request access to the software directly from:

https://bahri.maintenance.tailoredtech.tech/

Navigate to the access request section and submit your request from there.

Response Time

Regardless of the method you choose, your access will be approved or responded to within 24 hours. If there are any issues, you will be notified via the contact details you provided.


Step 2 — Clone the Repository

Once access has been granted, clone the repository to your local machine:

git clone <repository-url>
cd <repository-folder>

Step 3 — Install Dependencies

Install all required packages using npm:

npm install

Step 4 — Configure Environment Variables

Create a .env.local file in the root of the project and define the following environment variables:

CONNECTION_STRING_PASSWORD=
NEXT_PUBLIC_S3_BUCKET_URL=
NEXT_PUBLIC_SETTINGS_KEY=
REMOTE_URL=
AWS_LAMBDA_EMAIL_URL=
VariableDescription
CONNECTION_STRING_PASSWORDMongoDB connection string credentials
NEXT_PUBLIC_S3_BUCKET_URLAWS Lambda URL used for S3 image uploads
NEXT_PUBLIC_SETTINGS_KEYKey used to fetch application settings
REMOTE_URLMongoDB remote connection URI
AWS_LAMBDA_EMAIL_URLAWS Lambda URL used for sending emails
caution

Never commit your .env.local file to version control. Make sure it is listed in your .gitignore.


Step 5 — Run the Development Server

npm run dev

The application will be available at http://localhost:3000 by default.