A very simple CMS based on the MEAN stack, written in ECMAScript 6.
- Install
node (v6.9.2)
andnpm (v3.10.9)
by downloading the installer. - Install and run the mongoDB community server. Create a database.
- Run
npm install
andnpm install --prefix public/javascripts/lib
in the project's root directory. - Set the mongoDB URL in
server/config/general.js
and setREGISTRATION_ENABLED: true
. - Run
npm start
and go tolocalhost:3000
.
- Go to
localhost:3000/register
. - Create a user and click register. From now on, visit
localhost:3000/login
to log in. - Deactivate registering again in the config.
- Install
node
andmongoDB
on your host. For AWS, I can recommend this tutorial. sudo git clone https://github.com/batzner/meanpress.git
andcd meanpress
sudo npm install gulp forever -g
sudo vim server/config/general-prod.js
- Change your mongoDB URL, port etc. here
sudo git pull
sudo npm install
andsudo npm install --prefix public/javascripts/lib
sudo gulp
sudo forever stopall
sudo npm run-script server
and test the site in your browser.sudo npm run-script forever
to detach.