- MySQL/MariaDB (https://www.mysql.com/downloads/)
- Node.js 10.0+ (https://nodejs.org)
- Bower
- Clone the repository:
git clone git@github.com:MilkZoft/MuuCMS.git
- Install the NPM dependencies:
npm install
- Install the Bower dependencies:
npm install -g bower
bower install
-
Import the database to your MySQL (http://localhost/phpmyadmin)
-
Configure your MySQL Database connection parameters on
src/config/local.json
-
Install Redis
In Mac:
brew install redis
In Ubuntu:
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server
- Start the application server
npm start
- Run the application at http://localhost:3000
npm start
Start server in local modenpm run start:development
Start server in development modenpm run start:qa
Start server in QA modenpm run start:stage
Start server in stage modenpm run start:production
Start server in production modenpm run lint
Eslint validatornpm run lint:fix
Eslint validator with --fix flagnpm test
Run unit tests
- babeljs
- eslint
- express-js
- handlebars
- isomorphic-fetch
- jest
- mocha
- mysql
- react-helmet
- react-router
- react
- redux
- stylus
- webpack
- If you get a Redis error like this:
Creating Server TCP listening socket *:6379: bind: Address already in use
You will need to run the follow command
redis-cli
And then execute this command to shutdown the server:
shutdown