Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
fix #261: update readme to include webui re-chowns and service start …
Browse files Browse the repository at this point in the history
…tips
  • Loading branch information
jamesmeneghello committed Feb 14, 2016
1 parent dea3b37 commit 225edc2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,13 @@ environment variable for requests. For example, with Apache:

SetEnvIf X-Forwarded-Protocol https HTTPS=1

To start and stop nginx/uwsgi, follow OS service directions. For Ubuntu, this looks like this:

> sudo service nginx start/stop/restart
> sudo service uwsgi start/stop/restart

If any service fails to start, you can view the logs in /var/log/[nginx, uwsgi].

### Using the miscellaneous scripts ###

Categorise all uncategorised releases - this runs automatically after import.
Expand Down Expand Up @@ -560,9 +567,10 @@ A semi-reliable way to install the required packages is below (be careful of sud

> sudo apt-get install npm nodejs-legacy ruby ruby-compass

Run the npm install:
Run the npm install (chown the dir back to your user temporarily):

> cd webui
> chown -R <user>:<group> *
> npm install [not using sudo]

Install necessary build tools (using sudo):
Expand All @@ -581,6 +589,10 @@ Then initiate the build:
> bower install
> grunt build

Then chown back to www-data:

> chown -R www-data:www-data *

This will build a working and optimised version of the UI into the dist/ directory, which
will then be hosted by your webserver as part of api.py. Note that you can disable the web
interface in the main configuration.
Expand Down

0 comments on commit 225edc2

Please sign in to comment.