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
-
Clone the repo into a public GitHub repository (or fork https://github.com/codse/animata/fork).
-
Go to the project folder
-
Install packages with yarn
-
Set up your
.env
file- Duplicate
.env.example
to.env
- Duplicate
-
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:
You first might need to install the specific version and then use it:
You can install nvm from here.
-
Start the development server
-
Open http://localhost:3000 in the browser to see the result.