Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 2.19 KB

README.md

File metadata and controls

82 lines (61 loc) · 2.19 KB

ezark

ezark provide a central register for your sub publishers.

anim

Build Status Dependencies Status bitHound Overall Score

Docker status

Install and run

Without docker:

git clone https://github.com/Inist-CNRS/ezark.git
cd ezark
npm install
npm start

Then navigate to http://127.0.0.1:3000

### With docker:

git clone https://github.com/Inist-CNRS/ezark.git
cd ezark
docker-compose up

It will download and run the inistcnrs/ezark docker image sharing ./data/ and ./config.local.js with the docker container.

Install and run for developements

### With npm: To start ezark from a local git clone, you can follow these steps (needs nodejs and mongodb installed localy):

git clone https://github.com/Inist-CNRS/ezark.git
cd ezark
npm install
npm run debug
# the app is listening at http://127.0.0.1:3000/
# then open another terminal and your can freely edit the code

### With docker: The same but with docker (advantage: do not need to have mongodb and nodejs isntalled localy):

git clone https://github.com/Inist-CNRS/ezark.git
cd ezark
npm install
npm run debug-docker
# or just: docker-compose -f docker-compose.dev.yml up
# the app is listening at http://127.0.0.1:3000/
# then open another terminal and your can freely edit the code

or without npm/node

git clone https://github.com/Inist-CNRS/ezark.git
cd ezark
make install
make run
# the app is listening at http://127.0.0.1:3000/
# then open another terminal and your can freely edit the code

Configuration

Create a config.local.js containing:

module.exports = {
  "logLevel" : "dev"
}