Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Repository files navigation

Minsta

This repository hosts the primary codebase for the Moka. A publishing and reading app for digital novels, poems, short-stories, comics and books of all types.

Project code originated from Minsta.

Getting Started

To start with this project:

  1. Clone the repository.

  2. If you don't have pnpm installed, run:

    npm install -g pnpm
  3. Then, install the required dependencies:

    pnpm install

Environment Variables

Refer to the .env.example file for the environment variables used in this project.

If you don't set up a .env file or environment variables with your provider, the project will retrieve values from the following files:

  1. For CSS generation during build: generate-css.js
  2. For configuration variables: src/constants.ts
  3. For fallback metadata and text values: src/fallback.ts

Local Development

To run the project locally, use:

pnpm dev

Updating Environment Variables

Running Locally

If you're running your project locally, follow these steps to update your environment variables:

  1. Save your changes in the .env file.
  2. Run pnpm dev again to apply the updated environment variables.
  3. Reload the page to reflect the changes.

Deployed on Vercel

If you have deployed your project on Vercel, follow these steps to update your environment variables:

  1. Log in to your Vercel account.
  2. Navigate to the project settings for your deployed app.
  3. Update the environment variables in the Vercel dashboard.
  4. Trigger a redeployment of your app to apply the changes.

By following these steps, you can ensure that your project uses the updated environment variables.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages