~nathwill-deactivatedaccount-deactivatedaccount/charms/precise/owncloud/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Clint Byrum
  • Date: 2012-07-23 17:57:55 UTC
  • mfrom: (10.1.8 owncloud)
  • Revision ID: clint@ubuntu.com-20120723175755-xj9l362y5kj2iw0a
update to owncloud 4.04 (stable) and introduce database and shared-fs relations for multi-instance installs [author=nathwill]

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Juju charm owncloud 2.0.1
2
 
 
 
1
juju charm owncloud
3
2
author: Atul Jha <atul.jha@csscorp.com>
 
3
maintainer: Nathan Williams <nathan@nathanewilliams.com>
 
4
 
 
5
Preparation:
 
6
 
 
7
1. the charm comes with port, user, password configuration options. 
 
8
 
 
9
   if no user is provided, the administrator will be "owncloud".
 
10
 
 
11
   if no password is provided, a random one is chosen during the
 
12
   db-relation-joined hook. if you do this, you can obtain the auth
 
13
   credentials from the juju logs.
4
14
 
5
15
Steps:
6
16
 
7
17
1. Install
8
18
 
9
 
    juju deploy owncloud
 
19
   juju deploy owncloud
10
20
 
11
21
2. Expose
12
22
 
13
 
    juju expose owncloud
14
 
 
15
 
3.Access 
 
23
   juju expose owncloud
 
24
 
 
25
3a. Standalone Instance
 
26
 
 
27
   Access owncloud service directly, and complete the setup, providing user credentials and initializing sqlite database.
 
28
 
 
29
3b. Shared Instances
 
30
 
 
31
   juju deploy mysql
 
32
   juju add-relation mysql owncloud
 
33
 
 
34
   juju deploy nfs
 
35
   juju add-relation nfs owncloud
 
36
 
 
37
4. Access 
16
38
 
17
39
http://<owncloud-machine-addr>/.  To find out the public address of owncloud,
18
40
look for it in the output of the `juju status` command.
19
41
 
20
 
4. User Account Creation
21
 
 
22
 
Create first user, it will have administrative privileges and select a password, once done click on "Finish setup" botton. Once done you have your owncloud dashboard in front of you. :)
23
 
 
24
42
#TODO
25
 
Adding db relation for mysql, currently sqlite is used. Until then, using add-unit with this charm will create independent instances.
 
43
Genericize shared-fs-relation-* for non-nfs shared-fs providers