Skip to content
This repository
Newer
Older
100644 46 lines (27 sloc) 0.734 kb
4a6596af »
2012-08-30 Fixed bunch of js bugs with comments. Also added development tips
1 ## Development tips:
2
3 ### Start application in development mode
4
5 #### 1. Via foreman
6
7 bundle exec foreman -p 3000
8
9 #### 2. Via gitlab cli
10
11 ./gitlab start
12
13 #### 3. Manually
14
15 bundle exec rails s
16 bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
17
18
19 ### Run tests:
20
21 #### 1. Packages
22
23 # ubuntu
24 sudo apt-get install libqt4-dev libqtwebkit-dev
25 sudo apt-get install xvfb
26
27 # Mac
28 brew install qt
29 brew install xvfb
30
31 #### 2. DB & seeds
32
33 bundle exec rake db:setup RAILS_ENV=test
34 bundle exec rake db:seed_fu RAILS_ENV=test
35
36 ### 3. Run Tests
37
38 # All in one
296e322b »
2012-09-15 the rake was missing in fron of the gitlab:test task
39 bundle exec rake gitlab:test
4a6596af »
2012-08-30 Fixed bunch of js bugs with comments. Also added development tips
40
41 # Rspec
42 bundle exec rake spec
43
9c117f26 »
2012-09-15 The project doesn't use cucumber(anymore?), it uses spinach
44 # Spinach
45 bundle exec rake spinach
Something went wrong with that request. Please try again.