Giter Club home page Giter Club logo

cqpweb's Introduction

Steps to setup docker container

Starts and builds the container (if necessary)

docker-compose up -d --build cwb

Enter the docker machine with an interactive bash session

docker exec -it cqpweb_cwb_1 bash

This will setup the database and user

cat /tmp/cwb/mysql_setup | mysql

This will reset the databse (This removes all data!)

cat /tmp/cwb/mysql_clear | mysql

Create a directory for uploaded files

mkdir /cqp/upload
mkdir /corpora/data/

This will setup the database

cd /var/www/CQPweb/bin
php autosetup.php

Mappings to the host file system are given in docker-compose.yml.

A database dump can be created for backup and migration purposes:

mysqldump cqpweb > /cqp/dbdump.sql

This command should be executed within the container. The dump is stored in the shared folderr cqp.

cqpweb's People

Contributors

jheek avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cqpweb's Issues

how to upload files to create a corpus

After instalation, can you give me direction (reference to documentations) to load a corpus in the system? In the web interface, all options under Your files and corpora give me the page with a message We are sorry, but that is not a valid menu option..

setup the database

I got an error in the command

root@d2e1c68d2c44:/tmp/cwb# cd /var/www/CQPweb/bin
bash: cd: /var/www/CQPweb/bin: No such file or directory

any idea?

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.