quality-dashboard-team team mailing list archive
-
quality-dashboard-team team
-
Mailing list archive
-
Message #00002
postgresql server (was: Re: Accessing dashboard playground (running on Canonistack))
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
just to follow-up on our meeting today.
The canonistack host now has postgresql installed and the user django
is in the admin group (so you can sudo and change/install whatever you
need). I didn't create any database.
Thanks,
Martin
On 03/06/2012 05:00 PM, Martin Mrazik wrote:
> Hi All,
>
> On our last Quality Dashboard meeting we were looking for a
> playground where we can develop the quality dashboard. I suggested
> to use canonistack instance with a private IP for this purpose and
> it seems this approach works and it is not so hard to set it up.
>
> If you are interested in the Dashboard development feel free to
> follow the steps below[1] to see a running django app there
> (currently it only displays "It worked!" -- the default page of
> empty project).
>
> If you want to know how I created the VM instance, ping me and I
> can provide details. It is actually quite easy :-)
>
> Thanks,
>
> Martin
>
>
> [1]
>
> 0. You need shell account on chinstrap.canonical.com. If you don't
> have one you will need to ask IS.
>
> 1. add the following to your ~/.ssh/config. Note that you need to
> change the "$YOUR_CHINSTRAP_LOGIN" to your real chinstrap login.
> -----snip----- Host 10.55.60.* ProxyCommand ssh
> $YOUR_CHINSTRAP_LOGIN@xxxxxxxxxxxxxxxxxxxxxxx nc -q0 %h %p
> -----snip-----
>
> 2. ssh -L 8000:10.55.60.168:8000 django@10.55.60.168 password:
> "django"
>
> The command above will create a tunnel to the private IP via
> chinstrap. One end of the tunel is localhost:8000. The other end is
> 10.55.60.168:8000 where django server is running.
>
> 3. with your browser go to http://localhost:8000 You should see
> (that is the django instance running on 10.55.60.168):
> -----snip----- It worked! Congratulations on your first
> Django-powered page. -----snip----- The server is running in screen
> so if you do "screen -r" you can start/stop it (or even add some
> django code).
>
> Thanks,
>
> Martin
>
- --
Martin Mrazik | Product Strategy Quality Lead
Key fingerprint:
0373 C5E5 6A04 39FF 9D06 31B8 B296 2F5D 35FF D83B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk9nTesACgkQspYvXTX/2DvyRACgxGoYfDP9gRBMWmZS7qgGKn+L
p28AoIP6Da8Yhum6MaKWpUojzcDR80gQ
=eWd5
-----END PGP SIGNATURE-----
Follow ups
References