-
clone the repo
-
brew install elasticsearch@6
-
gem install bundler
-
bundle install
-
Choose one:
-
rake db:create
-
rake db:migrate
-
rake 'responses_csv:import['your/path/to/sample-responses.csv']'
-
brew services start elasticsearch@6
-
rails c
-
Response.__elasticsearch__.create_index!
-
Response.__elasticsearch__.import
-
Start redis server:
redis-server --port 6400
-
rails s
-
Go to: localhost:3100
bundle exec rspec spec
Prerequisites:
- Ensure the elastic beanstalk CLI is installed and configured
QuillCMS$ eb init --interactive
- default region ->
us-east-1 : US East (N. Virginia)
- application ->
QuillCMS
- default environment ->
Quillcms-production
- platform ->
Puma with Ruby 2.6 on 64bit Amazon Linux
- default region ->
QuillCMS$ git checkout production && git pull
QuillCMS$ bash deploy.sh staging|prod
If you need to ssh into an instance and eb ssh
throws a publickey error exception, try eb ssh --setup
. More details here.
TODO