source: software-center/trunk/fuentes/run_local.sh @ 403

Last change on this file since 403 was 401, checked in by mabarracus, 5 years ago

Added 16.01+16.04.20160119 sources

  • Property svn:executable set to *
File size: 562 bytes
Line 
1#!/bin/sh
2
3export SOFTWARE_CENTER_REVIEWS_HOST="http://127.0.0.1:8000/reviews/api/1.0"
4export SOFTWARE_CENTER_FORCE_NON_SSL=1
5export SOFTWARE_CENTER_FORCE_DISABLE_CERTS_CHECK=1
6
7# sso
8export USSOC_SERVICE_URL="https://login.staging.ubuntu.com/api/1.0"
9pkill -f ubuntu-sso-login
10python /usr/lib/ubuntu-sso-client/ubuntu-sso-login &
11
12# s-c
13if [ -n "$PYTHONPATH" ]; then
14    export PYTHONPATH=$(pwd):$PYTHONPATH
15else
16    export PYTHONPATH=$(pwd)
17fi
18
19
20if [ ! -d "./build" ]; then
21    echo "Please run: 'python setup.py build' before $0"
22fi
23
24./bin/software-center $@
Note: See TracBrowser for help on using the repository browser.