nomlab / camome

CAMOME MOtivates ME
1 stars 11 forks source link

** Setup camome 1) Install vendor/bundle stuffs

+BEGIN_SRC sh

  $ bundle install --path vendor/bundle
  #+END_SRC

2) Setup secret key

+BEGIN_SRC sh

  $ bundle exec rake secret # -> You will see: foobarbuz... Copy the string.
  $ cp config/secrets-example.yml config/secrets.yml
  $ vim config/secrets.yml # -> Replace all <SECRETKEY> with the string outputted
  #+END_SRC

3) Setup DB

+BEGIN_SRC sh

  $ bundle exec rake db:migrate
  #+END_SRC

4) Initialize DB

+BEGIN_SRC sh

  $ bundle exec rake db:seed
  #+END_SRC

5) Install submodule

+BEGIN_SRC sh

  $ git submodule init
  $ git submodule update
  #+END_SRC

** Create new user 1) Access to =http://localhost:3000/users=, and click "New User" 2) After creating new user, access to =http://localhost:3000/gate/logout= to logout current user 3) Make sure that you can login with the created user.