Giter Club home page Giter Club logo

dbs1-notebook's Introduction

Installation and First Startup

The notebook is based on the SQLite3 kernel for jupyter nootebook, a lightweight DBMS. To use it, you must have python3 installed.

Open a terminal in the notebooks directory and follow the steps below:

  1. Make sure you have SQLite installed (usually called sqlite3): e.g. on OSX

    brew install sqlite3

    or on Ubuntu

    sudo apt-get install sqlite3
  2. Create a virtual environment for this notebook:

    python3 -m venv venv
  3. Activate the virtual environment on unix machines:

    source venv/bin/activate

    Or on Windows:

    .\venv\Scripts\activate
  4. Install the dependencies of this notebook:

    pip install -r requirements.txt
  5. Clone the repository of the sqlite3-kernel:

    git clone https://github.com/brownan/sqlite3-kernel.git
  6. Change the directory and install the sqlite3-kernel:

    cd sqlite3-kernel
    python setup.py install
    python -m sqlite3_kernel.install
  7. Go back to your notebook directory and start the notebook server:

    cd ..
    jupyter notebook
  8. Now a tab will open in your browser. If you click on Interactive_sql.ipynb from the displayed files, the notebook will open. Remember that you should not close the terminal as long as you want to work with the notebook.

Normal Startup

If you want to start the notebook and have already done the installation, you only have to execute the following two commands in your notebook directory:

  1. Activate the virtual environment on unix machines:

    source venv/bin/activate

    Or on Windows:

    .\venv\Scripts\activate
  2. Start the notebook server:

    jupyter notebook

dbs1-notebook's People

Contributors

benbals avatar dependabot[bot] avatar

Watchers

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