This is a crowdsourcing app on threat intelligence in rails and analytics with the chartkick gem.
The file config/secrets.yml is versioned as it just reads the environment variables SECRET_KEY_BASE , URL and PEM which are already set up at travis and heroku. To setup locally, ask us to provide you the file .env
sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' > /etc/apt/sources.list.d/pgdg.list" wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update sudo apt-get install postgresql-common sudo apt-get install postgresql-9.5 libpq-dev
sudo -u postgres createuser whoami
-s
bundle install
rake db:create
rake db:migrate
rails c
$>s = Setting.new
%>s.save
%>exit
rails s
For production use, the following changes are necessary:
- make model User confirmable and setup mailcatcher
- make sure that this list is complete...