Skip to content
Browse files

Add PostgreSQL Database

It's time to add a database to our project! The first step is to tell
DotCloud that we want a PostgreSQL server to be added to our application.
Just edit the Build File again.

..

Note that we called our database ``db``, but it could have been anything
else, really.

If you ``dotcloud push`` again, you will see that the database service
will be created (DotCloud will notice that we added a section to the
Build File).
  • Loading branch information...
1 parent 97b890f commit 79ca9485b561da3726dcf5fb10078f34e5642139 @jpetazzo committed Aug 31, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 dotcloud.yml
View
2 dotcloud.yml
@@ -1,2 +1,4 @@
www:
type: python
+db:
+ type: postgresql

0 comments on commit 79ca948

Please sign in to comment.
Something went wrong with that request. Please try again.