![]() ![]() Start a database LOCAL_DB=~+/var-db eval 'PGHOST=$LOCAL_DB PGDATA=$LOCAL_DB/data /usr/lib/postgresql/8.1/bin/pg_ctl -w -l $LOCAL_DB/server. First test with a specific target like test:functionals rake test:functionals Don't run just «rake» right now, you won't get meaningful error messages. There is an anti-venom, but if it’s not delivered quickly the effects can be fatal. It causes intense pain, breathing problems, damage to the heart, fits and paralysis. Stonefish are ambush feeders that lie completely still on the bottom, waiting for an unsuspecting fish to swim close by. The venom is lethal both to other marine animals and humans. Do Stonefish Use Venom to Capture Prey You might think that stonefish use their toxic venom supply to capture prey, but the venom is used strictly for defense. You will probably change the e-mail address and the server address, where image and previews are found. They are the most venomous fish in the world. Write a DB config file for RubyOnRails cat config/database.yml Stop the database LOCAL_DB=~+/var-db eval 'PGDATA=$LOCAL_DB/data /usr/lib/postgresql/8.1/bin/pg_ctl -w stop' Optionally, play around with your new database psql danbooru-dev danbooru-dbuser Load a schema into the DB - I had some errors, but it still worked.įor a real life example, use the schema recently published on psql danbooru-dev danbooru-dbuser -f db/postgres.sql Pg_ctl -w -l $LOCAL_DB/server.log start -o "-c listen_addresses= -c unix_socket_directory=$LOCAL_DB"įor i in dev test prod do createdb danbooru-$i done rm -f lib/resizer/resizerĬreate a self-contained postgresql runtime export PATH=$PATH:/usr/lib/postgresql/8.1/bin Tell it where rails is installed system-wide ln -sf /usr/share/rails vendor/ Sudo gem install diff-lcs acts_as_versioned Sudo apt-get install rails postgresql-8.1 postgresql-8.1-plruby rubygems libgd2-xpm-dev Note: Ensure that you have the Universe repository enabled in your /etc/sources.list. There used to be a more complete list on the wiki, most of which I had already installed. This HOWTO explains how to install it on Ubuntu and other Debian-like distros it has been tested with Ubuntu 6.06 and Ubuntu Feisty. Danbooru is a powerful image board system which uses tagging extensively. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |