FrontOffice based on an instance of Coral to display the electronic resources.
Delete existing index (if exists)
> curl -X DELETE 'http://localhost:9200/INDEX_NAME/'
Recreate index with mapping
> curl -X PUT http://localhost:9200/INDEX_NAME -d @mapping.json
Populate database via logstatsh
> cd /path/to/logstash/bin
> ./logstash -f /path/to/logstash/conf/get-data.conf
In a terminal, go to your work directory and launch :
-
Clone locally this project
> git clone https://github.com/SciencesPoDRIS/Coral_frontOffice.git
-
Install Node modules
> npm install
-
Install Bower modules
> bower install
-
Copy conf.default.json file into conf.json and edit it
> cp conf/conf.default.json conf/conf.json | vim conf/conf.json
-
Modify the default environment variables to your own ones
-
Launch Gulp build (default Gulp environment will be development)
> gulp