Find a file
2016-10-11 22:14:02 +02:00
app Mode d'Emploi design minimal 2016-07-24 19:10:16 +02:00
bin Project init 2015-03-04 21:38:22 +00:00
config Merged feature/multi_add_modal : We now have a multi-step wizard modal 2016-07-24 11:05:31 +02:00
db fixed arguments table definition (link with subject_id), please migrate db 2016-07-24 19:35:22 +02:00
lib Fixed autocomplete in modal 2016-07-23 20:05:51 +02:00
log Project init 2015-03-04 21:38:22 +00:00
public Revert "Revert "avancement 404"" 2016-02-06 15:04:21 +01:00
test Merge branch 'master' of https://github.com/Tiqa/Debats 2016-03-06 18:23:41 +01:00
vendor/assets more link - color 2016-07-24 01:05:51 +02:00
.gitignore Gemfile.lock is back (needed by Heroku) 2016-07-24 11:23:45 +02:00
config.ru Project init 2015-03-04 21:38:22 +00:00
Gemfile Fixed Gemfile listen gem 2016-07-24 14:24:09 +02:00
Gemfile.lock style button et modal 2016-07-24 15:36:19 +02:00
Guardfile Bootstrap and HTML/CSS initial setup 2015-03-05 02:12:56 +00:00
next.txt users and sessions 2015-03-15 23:51:39 +01:00
Procfile Added SSL, Changed production web server to Puma 2015-03-06 17:38:28 +00:00
Rakefile Project init 2015-03-04 21:38:22 +00:00
README.md update README for installing branch api_mode (WIP) 2016-10-11 22:14:02 +02:00
README.rdoc Updated README format 2015-03-06 10:16:28 +00:00

HOW TO INSTALL

Dependencies

Windows
macOs
brew update
brew install rbenv ruby-build
echo 'eval $(rbenv init -)' >> $HOME/.zshrc # assuming you're on zsh
source ~/.zshrc
brew install postgresql # for libpq-fe
xcode-select --install # click, click, click

Project Init

git clone https://github.com/Tiqa/debats-api.git
git checkout -b feat/api_mode origin/feat/api_mode
cd debats-api
gem install bundler
gem install pg
#gem install nokogiri
bundler config build.nokogiri --use-system-libraries # macOS issue
bundler install
rails db:drop
rails db:create
rails db:migrate
rails db:seed

Launch server

rails server # /usr/local/bin/rails server (macOS)

server launched on port 3000