Blog image manager for https://blog.kubosho.com.
This project uses dotenvx to manage encrypted environment variables. The .env file is encrypted and committed to the repository.
To run the application, you need the decryption key.
- Obtain the
DOTENV_PRIVATE_KEYfrom the project administrator. - Create a
.env.keysfile in the root directory, and add the key to the file:
DOTENV_PRIVATE_KEY="your_private_key_here"To manage AWS resources, you need to configure the AWS CLI profile and region. We recommend using direnv to automatically load environment variables.
Install direnv and create (or modify) .envrc in the project root:
export AWS_PROFILE="{YOUR_AWS_PROFILE}"
export AWS_DEFAULT_REGION="{YOUR_AWS_REGION}"Allow the configuration:
direnv allowIf you do not use direnv, you must manually export the variables before running Terraform or AWS commands:
export AWS_PROFILE="{YOUR_AWS_PROFILE}"
export AWS_DEFAULT_REGION="{YOUR_AWS_REGION}"Start the development server:
npm run devBuild the application:
npm run buildLint the codes:
npm run lintRun tests:
npm run testLaunch storybook:
npm run storybook