Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 1.3 KB

README.md

File metadata and controls

49 lines (43 loc) · 1.3 KB

image

Stockmanage is a RoR web responsive application to manage everything related to sales and stock.

Requisites:

Setup development:

Clone the repo...

$ git clone https://github.com/eugesma/stockmanage.git

Set ruby version

$ cd stockmanage
$ echo "ruby-3.0.0" > .ruby-version
$ echo "stockmanage" > .ruby-gemset

Install gems and dependencies

$ bundle install

If raise the following error

An error occurred while installing pg (1.2.1), and Bundler cannot continue.

Try:

$ sudo apt-get install libpq-dev
$ bundle install

Install NodeJs

$ sudo apt-get install nodejs

Create database and user

Create pg_trgm and unaccent extensions

Run migrations

$ bin/rake db:migrate

Finally

$ bin/rails s