by Aleksander Gosk
Receipt Management System is an app made for the Polish and Japanese Academy of Computer Technologies as part of the Engineering thesis.
The main concept of the application is to enable making complaints (based on a receipt you get from a shop) by the users about the products they bought in a particular shop, as well as giving feedback about the complaint process.
(If you want to use the search Shops functionality):
Install the Elastic Search service
Download from github
git clone https://github.com/beliar91/Receipt-Management-SystemRun the bundle install command to install all the gems on your local machine.
Creating the database:
-
If you want to use PostgreSQL on your local machine:
a) Install PostgreSQL
b) Edit the file located in config/database.yml to match your own credentials
c) Run the following command:rake db:create -
If you want to use SQLite on your local machine:
a) Edit your config/database.yml file to use SQLite so it looks like this
b) Edit your Gemfile so it looks like this:gem 'sqlite3' gem 'pg', group: :production
c) Run the following command:
console bundle install
After creating the database, run the following command:
rake db:migrate(Optional) For generating fake data use:
rake db:seed-
How can I get into the admin panel?
a) Make sure the user you are currently logged in has the admin attribute set to true.
b) Enter The Admin panel -
Why can't I make any complaint reviews?
Before making a complaint review, an admin user must accept the particular review in the admin panel.
-Add test coverage (using Rspec/Capybara/FactoryGirl)
-Add I18N support
-Add facebook,twitter, google+ registration/signing up