~rvb/maas/bug-1384001-redux-1.7

« back to all changes in this revision

Viewing changes to README.txt

  • Committer: Raphael Badin
  • Date: 2012-01-16 08:33:18 UTC
  • Revision ID: raphael.badin@canonical.com-20120116083318-2ntniy6eirey3drl
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
MaaS .. Description TODO.
 
2
 
 
3
For more information about MaaS:
 
4
https://launchpad.net/maas
 
5
 
 
6
= Development MaaS server setup =
 
7
 
 
8
You need a database for the maas server.
 
9
 
 
10
You can choose to use the database of your choice (note that you will
 
11
need to update the default values in src/maas/development.py if you choose
 
12
to do so).
 
13
 
 
14
If you want to use the default for a local development server (postgresql
 
15
database engine, user: 'maas' with 'maas' as password, database name: 'maas'):
 
16
 
 
17
    $ echo "CREATE USER maas WITH CREATEDB PASSWORD 'maas';" | psql -U postgres
 
18
    $ createdb -E utf8 -O maas maas
 
19
 
 
20
Setup the project (fetch all the required dependencies):
 
21
 
 
22
    $ make
 
23
 
 
24
Initialize the database:
 
25
 
 
26
    $ make syncdb
 
27
 
 
28
Run the development webserver:
 
29
 
 
30
    $ make run
 
31
 
 
32
Point your browser to http://localhost:8000/