Skip to content

Latest commit

 

History

History
171 lines (115 loc) · 4.82 KB

README.md

File metadata and controls

171 lines (115 loc) · 4.82 KB

Introduction


MoneyExchange was developed by Duvan Mejia, with the documentation available on docs.djangoproject.com.

Python Version Django Version Build Status npm CDNJS license Twitter URL

Documentation | Examples | Support | Changelog


This package officially supports all currently supported versions of Python/Django:

Python 2.7 3.6
Django 2.0 🔵
Django master
Key
Officially supported, tested, and passing
🔵 Tested and passing, but not officially supported
🔳 Not officially supported, may break at any time, most tests passing
Known incompatibilities

Authored by Duvan Mejia. Django Boards Screenshot

Documentation


Requirements

  • Python 3.6.6
  • Django 2.0

Installation

Clone this repository into your project:

git clone https://github.com/DuvanSGF/changehouse.git

Download the zip file and unpack it:

widget https://github.com/DuvanSGF/changehouse/master.zip

unzip master.zip

Configuration

Installing Virtualenv

For the next step, we are going to use pip, a tool to manage and install Python packages, to install virtualenv.

Create the folder: In the Command Prompt, execute the command :

mkdir changehouse

and then :

cd changehouse

and finally in the Command Prompt, execute the command below:

virtualenv .

or

pip install virtualenv

Our virtual environment is installed. Now before we start using it, we need to activate:

.\Scripts\activate

It’s very straightforward. Now that we have the venv activated, run the following command to install requirements:

pip install -r requirements.txt

You'll need to see the documentation If you not understand something. See that documentation for guidance.

Migration Configuration

  1. Install postgres, MySQL (In my case I have installed XAMPP).
  2. Create changehouse database.

These settings should be reviewed and set or modified BEFORE any migrations have been run.

Run Migrations

After you have configured all migration settings, run

python manage.py migrate

then

python manage.py makemigrations

Import Configuration

These settings should also be reviewed and set or modified before importing any data.

Notes

If you is here! Congrats only two steps more and it's ready!

I'm finding some bugs and I will fix.

Running Tests

Run the following command :

  $ python manage.py createsuperuser

Username: Your name

Email address: [email protected]

Finally, run the development server:

  $ python manage.py runserver

Now, open a Web browser and go to “/site/” on your local domain – e.g., 127.0.0.1:8000 You should see the admin’s login screen:

license

MIT, as the original project. See MIT License.

Creative Commons License