Coder Social home page Coder Social logo

Polyphona

A familiar, portable music editor for your desktop.

Install

Client

Make sure you have Node ad npm installed, then run:

npm install

Server

Install dependencies using pip (preferably in a virtual environment):

pip install -r requirements.txt

Usage

Presentation of the backend server

The server stores songs and user data. The desktop app uses its REST API to display and manipulate data.

It consists in:

  • A web application server, written in Python using Falcon (a REST API framework) and running on Gunicorn (or a similar process manager);
  • A database module, also written in Python and backed by SQLite and the sqlite3 module.

The database itself is stored in a file named polyphona_db.db. If no file is found a new one will be created upon the launch of the server.

Running the server

To run the server locally, run the following command from the project root directory:

gunicorn api:app

For more advanced use cases, please refer to the Gunicorn documentation or the process manager you are using.

Running the desktop app

To run the desktop app, run:

npm run dev

in the root directory.

Tests

The server comes with a test suite written with Pytest.

To run the test suite, run $ pytest from the project root directory.

Resources

To get started with Electron, read Writing your first Electron app.

Polyphona's Projects

polyphona icon polyphona

🎵✍️ Le bloc-notes musical à la portée de tous

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.