Manage bills, income, expenses and clients.
This project was made for my grandfather's business (who does not have so much contact with tech), who is an upholsterer. So I tried to keep as simple as possible.
Feel free to contribute and if you have any quention, open an issue and we'll talk about it.
As the product was made for an brazilian, the whole system is in portuguese (but the code is in english).
- Python 3.5
- Install pip -> https://pip.pypa.io/en/latest/installing.html
- Install virtualenv -> https://virtualenv.pypa.io/en/latest/installation.html
- Create a folder with virtualenv:
$ virtualenv folder
- Activate the virtual enviroment:
$ cd folder
$ source bin/activate
-
Clone this repository for the folder.
-
Install the dependencies:
pip install -r requirements.txt
- Create an .env file on settings directory with SECRET_KEY:
SECRET_KEY=MY_SUPER_SECRET_KEY
- Create and configure the database:
$ python manage.py makemigrations
$ python manage.py migrate
- Create an admin user:
$ python manage.py createsuperuser
- Runs the server:
$ python manage.py runserver
- Access the site:
http://127.0.0.1:8000/
- Access the admin page:
http://127.0.0.1:8000/login
- You can setup the whole production server with this script: django_server_setup
Create an .env
file on settings
directory with these variables:
SECRET_KEY=ARANDOMSECRETKEY
#OPBEAT
ORGANIZATION_ID=JUSTIFYOUAREUSING
APP_ID=JUSTIFYOUAREUSING
SECRET_TOKEN=JUSTIFYOUAREUSING
#DATABASE
NAME=DATABASENAME
USER=DATABASEUSER
PASSWORD=DATABASEPASS
HOST=DATABASEHOST
PORT=DATABASEPORT
ALLOWED_HOSTS=
The project is covered by unit tests, you can run them by doing:
$ python manage.py test
You can add some photos of the item to show how it was before and after the work, for example. If the image was marked (the checkbox), it will appear on the portfolio page on the website, automatically.
All messages sent form website contact form. Collapsed gray box are read messages.
Fellipe Pinheiro – @pinheirofellipe – pinheiro.llip[at]gmail[dot]com
Distributed under the MIT license. See LICENSE
for more information.