-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more detailed installation document
- Loading branch information
Showing
2 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
=============================== | ||
Installing ``gmusicprocurator`` | ||
=============================== | ||
|
||
Requirements | ||
------------ | ||
|
||
Backend | ||
~~~~~~~ | ||
|
||
* Python 2.7 (only tested with CPython) | ||
* virtualenv (optional, but recommended) | ||
|
||
Frontend | ||
~~~~~~~~ | ||
|
||
* Sass_ | ||
* Node.js + NPM | ||
* Bower (``npm install bower``) | ||
* CoffeeScript (``npm install -g coffee-script``) | ||
* UglifyJS2 (``npm install -g uglify-js``) | ||
* importer (``npm install -g importer``) | ||
|
||
|
||
.. _Sass: http://sass-lang.com/ | ||
|
||
Instructions | ||
------------ | ||
|
||
These instructions are similar to the quick installation in ``README.rst``. | ||
This is meant as a supplement, so that the HTML5 frontend is installed | ||
correctly. | ||
|
||
.. code-block:: console | ||
$ git clone --recursive https://github.com/malept/gmusicprocurator.git | ||
$ cd gmusicprocurator | ||
$ bower install -p # Added for frontend installation | ||
$ virtualenv venv # Added for creating a separate virtualenv | ||
$ source venv/bin/activate | ||
(venv) $ pip install -r requirements.txt | ||
(venv) $ python -m gmusicprocurator list_devices --no-desktop | ||
# See quick install in README.rst | ||
(venv) $ python -m gmusicprocurator runserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters