Skip to content

onurozkan/meta

 
 

Repository files navigation

Assembly

Build Status Code Climate

Open Tasks

Dependencies

Setup

$ bundle install
$ npm install

# Edit your local configuration
$ cp .env.sample .env && $EDITOR .env
$ cp config/database.yml.sample config/database.yml

# Setup the database
$ rake db:setup

$ forego start [-f Procfile.dev] # if you have a Procfile.dev

Compiling Components.js

$ npm install
$ npm run watch

Alternatively, add the following line to your Procfile.dev:

node: npm install && npm run watch

Elasticsearch

If you need to populate the ElasticSearch index (recommended on first run):

$ rails console
irb> Wip.__elasticsearch__.client.indices.delete(index: Wip.index_name)
irb> Wip.__elasticsearch__.create_index!(force: true)
irb> Wip.import
irb> Product.__elasticsearch__.client.indices.delete(index: Product.index_name)
irb> Product.__elasticsearch__.create_index!(force: true)
irb> Product.import
irb> User.__elasticsearch__.client.indices.delete(index: User.index_name)
irb> User.__elasticsearch__.create_index!(force: true)
irb> User.import

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.2%
  • Ruby 36.6%
  • HTML 13.4%
  • CSS 9.4%
  • Other 1.4%