Commit 27ff15ad3e19bfbd6143f43cc61043fd78ffd3e1
1 parent
9bc315bb
Exists in
master
and in
4 other branches
Remove development.md
Showing
1 changed file
with
0 additions
and
36 deletions
Show diff stats
doc/development.md
@@ -1,36 +0,0 @@ | @@ -1,36 +0,0 @@ | ||
1 | -## Development tips: | ||
2 | - | ||
3 | - | ||
4 | -### Installation | ||
5 | - | ||
6 | -Install the Gitlab development in a virtual machine with the [Gitlab Vagrant virtual machine](https://github.com/gitlabhq/gitlab-vagrant-vm). Installing it in a virtual machine makes it much easier to set up all the dependencies for integration testing. | ||
7 | - | ||
8 | - | ||
9 | -### Start application in development mode | ||
10 | - | ||
11 | -#### 1. Via foreman | ||
12 | - | ||
13 | - bundle exec foreman start -p 3000 | ||
14 | - | ||
15 | -#### 2. Manually | ||
16 | - | ||
17 | - bundle exec rails s | ||
18 | - bundle exec rake environment resque:work QUEUE=* VVERBOSE=1 | ||
19 | - | ||
20 | - | ||
21 | -### Test DB setup & seed | ||
22 | - | ||
23 | - bundle exec rake db:setup RAILS_ENV=test | ||
24 | - bundle exec rake db:seed_fu RAILS_ENV=test | ||
25 | - | ||
26 | - | ||
27 | -### Run the Tests | ||
28 | - | ||
29 | - # All in one | ||
30 | - bundle exec rake gitlab:test | ||
31 | - | ||
32 | - # Rspec | ||
33 | - bundle exec rake spec | ||
34 | - | ||
35 | - # Spinach | ||
36 | - bundle exec rake spinach |