Giter Site home page Giter Site logo

shico-deploy's Introduction

Deploying ShiCo

This repository is meant to illustrate how existing software can be used with different datasets (times, kb and german news papers), enabling scholars to carry out research on different resources.

Instructions for deploying ShiCo

We assume that you are able to run Docker images.

NOTE: on SE-Linux, make sure you can mount files -- you can run setenforce 0 (although it may lead to vulnerabilities in your system) or you change the label in the container context as shown here.

You can run the scripts provided in this repo to download the ShiCo data and deploy a ShiCo instance.

Download data for a given model

Run the download.py script:

python download.py DOI

where DOI can be:

Dataset DOI
times https://doi.org/10.5281/zenodo.1494140
kb https://doi.org/10.5281/zenodo.1189327
German historic newspapers* https://doi.org/10.5281/zenodo.3255285

Note: German newspapers contains 3 sets of chronicling_america, europeana and sbb, which can be deployed separately.

Convert to gensim

Run the convert.py script:

python convert.py

Or, for the German newspapers:

python convert.py SET_NAME

where SET_NAME can be one of: chronicling_america, europeana or sbb.

Deploy dockers

Run the start.sh bash script:

./start.sh

You should now have a ShiCo backend running on port 8000 and frontend running on port 3000 of your localhost. Visit http://localhost:3000/ to use your instance of ShiCo.

shico-deploy's People

Contributors

c-martinez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.