Skip to content
JavaScript Ruby HTML CSS Other
Branch: master
Clone or download
Pull request Compare This branch is 10 commits behind assemblymade:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
public
spec
vagrant
.buildpacks
.env.sample
.gitignore
.hound.yml
.jshintrc
.ruby-gemset
.ruby-style.yml
.scss-style.yml
.travis.yml
Gemfile
Gemfile.lock
Guardfile
LICENSE
Procfile
README.md
Rakefile
Vagrantfile
config.ru
fig.yml
package.json
vagrant.yml.example

README.md

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
You can’t perform that action at this time.