Welcome to OrionCMS! Follow this guide to set up and run the project locally.
Before starting, make sure you have the following installed:
- Node.js (v18+ recommended)
- pnpm (Package manager) - Install it globally if not already:
npm install -g pnpm
- MySQL (or SQLite) database setup and ready.
-
Clone the repository:
git clone git@github.com:orioncms/cms.git
-
Navigate to the project folder:
cd cms -
Install dependencies:
pnpm i
-
Set up your database:
-
Ensure you have database credentials ready:
- Host
- User
- Password
- Port
- Database name
-
The application expects a MySQL (or SQLite) database. Update your database details in the appropriate configuration file (
.envor similar). If an.envfile is not available, create one in the root of the project.
-
-
Start the development server:
pnpm dev
-
Access the application: Open your browser and go to:
https://localhost:3000
- Make sure the database server is running and accessible.
- Default development port:
3000. - If you encounter SSL issues with
https://localhost, check your browser or consider usinghttp://localhost:3000.