onurozkan / meta

Home Page:https://assembly.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://assembly.com

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 39.1%Language:Ruby 36.6%Language:HTML 13.4%Language:CSS 9.4%Language:CoffeeScript 0.9%Language:Shell 0.5%