Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

ANTFARM/General/Commands

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

The following needs to be done in order to use the Postgresql database in Antfarm: sudo apt-get install postgresql postgresql-client postgresql-client-common postgresql-server-dev-8.3 sudo su - postgres $ createuser <user name> Shall the new role be a superuser? (y/n) y $ exit The user that you create will be the user who is associated with all of the antfarm files and must have permission to all Antfarm files, that is why they will be considered a superuser in this aspect. For each environment used, the following commands are used to set up your database. createdb <environment name> (this only needs to be done once per environment) antfarm -e <environment name> db—migrate (this is used to create the tables) antfarm -e <environment name> db—reset (this is used to prepare the tables to be filled)