HRM is an internal human resource management software.
v0.0.0 - not yet released. Latest update: Jan 2025.
Below are instructions for developers.
-
Download Node.js from the official website.
- We highly recommend you use v22.3.0 (LTS).
- You can either download it with
npmorpnpm - Verify that Node is successfully downloaded, run this command line on your terminal:
node --version
-
Install Dependencies
- If you are using
npm, you can install the required dependencies by running the following command:
npm install
- If you are using
pnpm, run the following command instead:
pnpm install
- If you are using
-
Install SST
- If you are using
npm, install the Serverless Stack - pass for now
- If you are using
pnpm, install the Serverless Stack (SST) CLI using the following command line:
pnpm sst install
- Verify sst is successfully installed:
sst version
- If you are using
-
Install AWS CLI by following instructions on the official documentation.
- Verify that AWS CLI is correctly installed and can be directly accessed from your terminal:
aws --version
You will need an AWS account with AdministratorAccess permission to manage resources. Follow these steps to configure AWS profiles, you can choose either ways:
-
Run the command:
aws configure --profile dev
-
Enter your AWS Access Key, Secret Access Key, default region (us-east-1 is recommended), and output format (e.g., json).
-
Repeat the above steps for
production.
-
Configure AWS SSO using:
aws configure sso --profile dev
Follow the prompts to authenticate via SSO and link your
devto the correct account and permissions. -
Repeat the above steps for production-profile.
Ensure your dev is configured for development environments and production is reserved for production environments.
To begin working on the project in a local development environment, run:
pnpm sst:devTo run the project with log information printed on stdout, run:
pnpm sst:dev --print-logsIf you are using npm, use the following instructions instead
sst devWhen ready to deploy your application to production, use the following command:
pnpm sst:deployEnsure that you are not using Node version 23.2, as the build process will fail with this version. See this issue.