GithubHelp home page GithubHelp logo

dbogdanov / metadb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtg/metadb

0.0 2.0 0.0 27 KB

A simple database containing metadata linked to musicbrainz ids

Shell 6.46% PLpgSQL 5.58% Python 87.95% HTML 0.01%

metadb's Introduction

metadb

Installation

Vagrant VM

The easiest way to start is to setup ready-to-use Vagrant VM. To do that download and install Vagrant for your OS. Then copy the config files:

  1. config.py.sample to config.py (you don't need to modify this file)

After that you can spin up the VM and start working with it:

$ vagrant up

There are some environment variables that you can set to affect the provisioning of the virtual machine.

  • MDB_NCPUS: Number of CPUs to put in the VM (default 1)
  • MDB_MEM: Amount of memory (default 1024mb)
  • MDB_MIRROR: ubuntu mirror (default archive.ubuntu.com)

You can start the web server (will be available at http://127.0.0.1:8080/):

$ vagrant ssh
$ cd metadb
$ python manage.py runserver

There are some shortcuts defined using fabric to perform commonly used commands:

  • fab vpsql: Load a psql session. Requires a local psql client
  • fab vssh: Connect to the VM more efficiently, saving the settings so that you don't need to run vagrant each time you ssh.

metadb's People

Contributors

alastair avatar dbogdanov avatar

Watchers

 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.