forked from RafaelMCarvalho/lcmat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (25 loc) · 744 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (25 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
specs:
@echo ""
@echo "======================"
@echo "Rodando todas as specs"
@echo "======================"
@echo ""
@rspec spec --format progress
install:
@echo ""
@echo "=================================="
@echo "Instalando dependencias do sistema"
@echo "=================================="
@echo ""libmagickwand-dev
@sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
banco:
@echo "================================"
@echo "Recriando banco de dados do zero"
@echo "================================"
@rake db:drop:all
@rake db:create:all
@rake db:migrate
@sed -i '1 i \# -*- encoding : utf-8 -*-' db/schema.rb
@rake db:test:prepare
@rake db:seed
@sed -i s/^\#// config/initializers/rails_admin.rb