| layout | title | nav_order | parent |
|---|---|---|---|
| default | Installation | 1 | Getting Started |
{: .no_toc }
{: .no_toc .text-delta }
This guide will help you get Adminator up and running on your local machine.
Before installing Adminator, ensure you have the following installed:
node --versionnpm --version# Clone the repository
git clone https://github.com/puikinsh/Adminator-admin-dashboard.git
# Navigate to the project directory
cd Adminator-admin-dashboard
# Install dependencies
npm install
# Start development server
npm start
npm install and npm start# Add Adminator to your project
npm install --save adminator
# Or download specific release
wget https://github.com/puikinsh/Adminator-admin-dashboard/archive/v2.6.0.zip
After installation, verify everything works:
npm start
Expected Output:
> adminator@2.6.0 start
> webpack server
✓ Project is running at: http://localhost:4000/
✓ webpack compiled successfully
npm run build
Expected Output:
> adminator@2.6.0 build
> npm run clean && cross-env webpack
✓ webpack compiled successfully in [time]ms
Open your browser and navigate to:
http://localhost:4000http://[your-ip]:4000You should see the Adminator dashboard with:
# Error: EADDRINUSE: address already in use :::4000
# Solution: Kill the process using port 4000
sudo lsof -ti:4000 | xargs kill -9
# Or use a different port
PORT=3000 npm start
# Check your Node.js version
node --version
# If version is below 18.12.0, update Node.js
# Use nvm (recommended):
nvm install 18
nvm use 18
# On macOS/Linux, you might need sudo for global packages
sudo npm install -g npm@latest
# Better solution: Fix npm permissions
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
# Clear npm cache and reinstall
npm cache clean --force
rm -rf node_modules package-lock.json
npm install
# Check for conflicting global packages
npm list -g --depth=0
# Update npm and dependencies
npm update
npm audit fix
If you encounter issues:
After successful installation:
Installation Complete! 🎉 You're ready to start building with Adminator.