Milti-Domain Content Publishing System for Archaic Web
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
applications/arhaica
config
tests
.eslintignore
.eslintrc.yml
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
server.js
server.sh

README.md

Installation

  1. Install nodejs
sudo dnf -y update
sudo dnf -y install psmisc
sudo dnf -y groupinstall "Development Tools"
sudo curl --silent --location https://rpm.nodesource.com/setup_9.x | bash -
sudo dnf -y install nodejs
  1. Clone project
git clone https://github.com/metarhia/arhaica
  1. Install mongodb
sudo dnf install -y mongodb-server
sudo systemctl enable mongod
sudo systemctl start mongod
  1. Install dependencies
npm install
  1. Allow port listening below 1024
sudo setcap 'cap_net_bind_service=+ep' "$(which node)"
  1. Start the server
./server.sh

if you skipped 5-th step run this instead

sudo ./server.sh