Docs

Running Locally

Set up your local environment to run Animata.

Animata is built using Next.js and TailwindCSS. To run Animata locally, you need to have Node.js installed on your machine. You can follow the steps below to set up your local environment.

Getting Started

Please follow these simple steps to get a local copy up and running.

Prerequisites

Here is what you need to be able to run Animata.

  • Node.js (Version: >=18.x)
  • Yarn (recommended)

Development

Setup

  1. Clone the repo into a public GitHub repository (or fork https://github.com/codse/animata/fork).

    git clone https://github.com/codse/animata.git
  2. Go to the project folder

    cd animata
  3. Install packages with yarn

    yarn
  4. Set up your .env file

    • Duplicate .env.example to .env
  5. Setup Node

    If your Node version does not meet the project's requirements as instructed by the docs, "nvm" (Node Version Manager) allows using Node at the version required by the project:

    nvm use

    You first might need to install the specific version and then use it:

    nvm install && nvm use

    You can install nvm from here.

  6. Start the development server

    yarn dev
  7. Open http://localhost:3000 in the browser to see the result.