You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+22-12
Original file line number
Diff line number
Diff line change
@@ -3,31 +3,41 @@ Introduction to acceptance testing
3
3
4
4
FORK THE PROJECT!
5
5
6
-
# Database setup
6
+
# Dependencies
7
+
**Download and set these up first.**
8
+
9
+
- ruby 2.1.5
10
+
- postgres
7
11
8
-
We're using postgres. Make sure it's running :)
12
+
## Gem dependencies
13
+
- capybara webkit driver (you will need QT)
14
+
[Webkit as js driver for cabypara](https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit)
15
+
16
+
# Database setup
17
+
We're using postgres. Make sure it's running :) Then log in to template with this command line:
9
18
10
-
Ubuntu: `sudo -u postgres psql template1`
19
+
Ubuntu: `sudo -u postgres psql template1`
11
20
OSX: `psql template1`
12
21
13
-
**Fill in your desired password**in the `db/development_setup_script.sql` - if you leave it empty you might have to [change your hba_conf](https://gist.github.com/p1nox/4953113).
22
+
You will now be in psql command line. After that in the console run the development setup script - this script is already filled in with passwords, etc. If you want to change any of the information in there you will need to change it also in database.yml later!
14
23
15
-
Then in the pql console run: `\i <PATH_TO_PROJECT>/db/development_setup_script.sql`
24
+
In the pql console run: `\i <PATH_TO_PROJECT>/db/development_setup_script.sql`
16
25
Exit console by typing `\q`
17
26
18
-
**Copy database.yml.sample to database.yml and fill in the password you chose earlier.**
0 commit comments