Installation
Learn how to launch your directory website with Mkdirs.
Installation Guide
-
Create your own repository
Click on
Use this template
button on the top right corner of Mkdirs Template to create your own repository, set the name of the repository and make sure to set it to private. -
Clone the Github repository
-
Install the dependencies
Make sure to install the dependencies (PNPM recommended).
-
Copy the
.env.example
file to.env
-
Configure the environment variables
Update the environment variables with your own values, learn more about configuring the environment variables here.
-
Start the development server
Start the development server and open it in your browser at http://localhost:3000
-
Build for production
Build the application to generate code for production.
-
Deploy
Follow the deployment guides to deploy your application on your favorite platform.
Video tutorial
What’s next?
Once you have deployed your application, it’s recommended to set up a process to sync the source code from @Mkdirs/mkdirs-template
to your own repository if some updates are available, for example, new features or bug fixes.
Learn more about how to sync the source code in the Develop section.