= Budget {}[https://travis-ci.org/Ragnarson/budget]
Using this application you are able to control your finances by easily managing the household wallet. You can add new categories, expenses and income. In a simple way you can plan a category by adding the future expenses. You can invite other people (eg, family members), so that all have access to the management of the wallet.
Application is being developed during internship at {Ragnarson}[http://ragnarson.com]. Source code is provided under {MIT license}[https://github.com/Ragnarson/budget/blob/master/LICENSE].
== Team ==== Mentors
== Before you make a commit
bundle install
if you have changed Gemfile. Include updated Gemfile.lock in your commit: git add Gemfile.lock
.rake db:migrate
if you have added a migration. Include updated schema.rb in your commit: git add db/schema.rb
.git status
shows no unstaged changes, i.e. there should be no "Changes not staged for commit:" nor "Untracked files:" in the output. If there are, either git add
them or remove them.rake test
. If it did, fix it and go to step 4 again.git diff --cached
. Make sure everything looks as you intended. This diff is what will be reviewed later by senior developers. If you have to fix something, do it and go to step 4 again.== PostgreSQL setup Following description assumes that you have installed and running PostgreSQL server. Its installation procedure may vary depending on your operating system and it's not mentioned here. In order to run application using PostgreSQL database, please copy config/database.yml.example as config/database.yml. By default, application uses 'budget' as your database name, login and password. Please follow those steps.
(1) Connect to database using your Superuser role (ex. 'postgres') $ psql -U postgres (2) Using SQL query create user and setup password postgres=# CREATE USER budget WITH PASSWORD 'budget'; (3) Create database and assign its owner postgres=# CREATE DATABASE budget WITH OWNER budget; Your database should already be configured. You're now ready to run application.
== Integration tests with phantomjs Integration testing using {phantomjs}[http://phantomjs.org/download.html]. Remember to add phantomjs to your PATH.