GithubHelp home page GithubHelp logo

darkflag / basex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basexdb/basex

0.0 2.0 0.0 107.24 MB

BaseX Main Repository.

Home Page: http://basex.org

License: BSD 3-Clause "New" or "Revised" License

Shell 0.05% Batchfile 0.03% ActionScript 0.13% C# 0.18% Makefile 0.02% C 0.23% Haskell 0.06% Java 95.14% Common Lisp 0.04% Perl 0.11% PHP 0.12% Python 0.21% QMake 0.01% C++ 0.11% Rebol 0.06% XQuery 2.98% Ruby 0.10% Scala 0.16% Visual Basic 0.16% JavaScript 0.11%

basex's Introduction

BaseX

Welcome to the source code of BaseX.

To get the project running as smooth as possible, please consider the following notes:

Compiling BaseX

JDK 1.7 and JUnit is currently required to compile the complete sources of the main project. If you are using another environment than Eclipse or don't have JUnit installed, just delete the test packages inside the project and rebuild the project.

Please take a look at the Maven documentation for information on how to use Maven.

You can launch the following classes, which are all placed in the basex-core directory and the org.basex main package:

BaseX        : console mode
BaseXServer  : server instance, waiting for requests
BaseXClient  : console mode, interacting with the server
BaseXGUI     : graphical user interface

Moreover, try -h to list the available command line options. For example, you can use BaseX to process XQuery expressions without entering the console.

Docker Image

The BaseX server is also available as automated build basex/basexhttp on the Docker Hub, providing both release and nightly builds. All images are automatically rebuild if Docker provides updated base images.

To start a BaseX container based on the latest development release publishing the BaseX server and HTTP ports 1984 and 8984 and bind-mounting your user's BaseXData directory, run

docker run -ti \
    --name basexhttp \
    --publish 1984:1984 \
    --publish 8984:8984 \
    --volume ~/BaseXData:/srv/BaseXData \
    basex/basexhttp:latest

By passing any other BaseX executable, you can also for example run a BaseX client connecting to the linked BaseX server for management operations on the BaseX command line:

docker run -ti \
    --link basexhttp:basexhttp \
    basex/basexhttp:latest basexclient -nbasexhttp

If you prefer the DBA web interface, this can also be linked against your server container:

docker run -d \
    --name basex-dba \
    --publix 18984:8984 \
    --link basexhttp:basexhttp \
    basex/dba

If you want to add your own application, create an image FROM basex/basexhttp:[tag] with [tag] being the BaseX version you're developing against. Usually, you will add your application code to /srv/BaseXWeb and modules to /srv/BaseXModule. BaseXData is persisted as a volume, which means it cannot be preinitialized in the application image.

For further information on using the Docker image, refer to the BaseX Docker documentation.

Using Eclipse

BaseX is being developed with the Eclipse environment. Some style guidelines are integrated in the sources of BaseX; they are being embedded as soon as you open the project.

Running BaseX

The following steps can be performed to start BaseX with Eclipse:

  • Press Run -> Run...
  • Create a new Java Application launch configuration
  • Select basex as Project
  • Choose a Main class (e.g., org.basex.BaseXGUI)
  • Launch the project via Run

Adding Checkstyle

Some additional Checkstyle guidelines are defined in the project:

  • Open Eclipse
  • Press Help -> Install new Software...
  • Press Search for new features to install
  • Enter the URL: http://eclipse-cs.sourceforge.net/update
  • Follow the installation procedure and restart Eclipse

Using Git

The code base of BaseX can be accessed via GitHub.

Feedback

Any kind of feedback is welcome; please check out the documentation.

Tell us if you run into any troubles installing BaseX:

[email protected]

You are as well invited to contribute to our bug tracker.

All the best,
BaseX Team, 2016

basex's People

Contributors

christiangruen avatar leowoerteler avatar jenserat avatar dimitarp avatar micheee avatar holu avatar kissdanigh avatar dirkk avatar masoumeh avatar jb8748 avatar charles-dyfis-net avatar adrianber avatar siahr avatar cfoster avatar amazingphil avatar hhv avatar andria009 avatar carlosmarcos avatar daveaglick avatar mingarao avatar malamut2 avatar davidmathei avatar vincentml avatar ferrarimartin avatar kristiank avatar klavs avatar meersdavy avatar emchateau avatar godmar avatar lukasl avatar

Watchers

James Cloos avatar  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.