You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
db | 6 months ago | |
lib | 6 months ago | |
real_test | 6 months ago | |
test | 6 months ago | |
.gitignore | 6 months ago | |
Gemfile | 6 months ago | |
Gemfile.lock | 6 months ago | |
README.md | 6 months ago | |
Rakefile | 6 months ago | |
certificate.pem | 6 months ago | |
env.sample | 6 months ago | |
private_key.pem | 6 months ago | |
public_key.pem | 6 months ago |
README.md
createuser -s postgres
sudo -u postgres psql postgres
postgres=#
CREATE USER imaprb;
ALTER USER imaprb SUPERUSER CREATEDB;
\password imaprb
DROP DATABASE IF EXISTS imaprb_debug;
CREATE DATABASE imaprb_debug;
sequel "postgres://postgres@localhost" -c "puts DB.run('DROP DATABASE IF EXISTS imaprb_debug'); puts DB.run('CREATE DATABASE imaprb_debug;')"
rake db:reset ; and rake db:migrate ; and rake db:seed