Fixed bunch of js bugs with comments. Also added development tips
This commit is contained in:
parent
92137b7beb
commit
4a6596af27
12 changed files with 269 additions and 200 deletions
45
doc/development.md
Normal file
45
doc/development.md
Normal file
|
@ -0,0 +1,45 @@
|
|||
## Development tips:
|
||||
|
||||
### Start application in development mode
|
||||
|
||||
#### 1. Via foreman
|
||||
|
||||
bundle exec foreman -p 3000
|
||||
|
||||
#### 2. Via gitlab cli
|
||||
|
||||
./gitlab start
|
||||
|
||||
#### 3. Manually
|
||||
|
||||
bundle exec rails s
|
||||
bundle exec rake environment resque:work QUEUE=* VVERBOSE=1
|
||||
|
||||
|
||||
### Run tests:
|
||||
|
||||
#### 1. Packages
|
||||
|
||||
# ubuntu
|
||||
sudo apt-get install libqt4-dev libqtwebkit-dev
|
||||
sudo apt-get install xvfb
|
||||
|
||||
# Mac
|
||||
brew install qt
|
||||
brew install xvfb
|
||||
|
||||
#### 2. DB & seeds
|
||||
|
||||
bundle exec rake db:setup RAILS_ENV=test
|
||||
bundle exec rake db:seed_fu RAILS_ENV=test
|
||||
|
||||
### 3. Run Tests
|
||||
|
||||
# All in one
|
||||
bundle exec gitlab:test
|
||||
|
||||
# Rspec
|
||||
bundle exec rake spec
|
||||
|
||||
# Cucumber
|
||||
bundle exec rake cucumber
|
Loading…
Add table
Add a link
Reference in a new issue