Git Product home page Git Product logo

realtymplace's Introduction

RealtyMPlace | Realty Market Place

Website .....

Overview

Prerequisites

  • Debian/Ubuntu
  • Python 2.7+
  • PIP
  • virtualenv/virtualenvwrapper

Installation

Creating the environment

Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.

For virtualenvwrapper

mkvirtualenv --no-site-packages {{ project_name }}-env

For virtualenv

virtualenv --no-site-packages {{ project_name }}-env
cd {{ project_name }}-env
source bin/activate

Activate

workon {{ project_name }}-env

Clone the code

Obtain the url to your git repository.

git clone <URL_TO_GIT_RESPOSITORY> {{ project_name }}

Install requirements

cd {{ project_name }}
pip install -r requirements.txt

Sync database

python manage.py syncdb

Running

python manage.py runserver --settings=bienes.settings.dev
or
python manage.py runserver --settings=bienes.settings.prod
or
python manage.py runserver --settings=bienes.settings.staging
or
python manage.py runserver --settings=bienes.settings.test

Open browser to http://127.0.0.1:8000 or http://localhost:8000

Resize image

pip install -I Pillow

sudo apt-get install libjpeg-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libjpeg
sudo apt-get install libpng
sudo apt-get install libpng-dev
sudo apt-get install libpng12-dev
sudo apt-get install libjpeg62
sudo apt-get install libjpeg62-dev
- I updated sorl-thumbnail to 12.2

- Added this 2 lines to settings.py:
    THUMBNAIL_COLORSPACE = None
    THUMBNAIL_PRESERVE_FORMAT = True 

- python manage.py thumbnail clear_delete_all

realtymplace's People

Contributors

damianpv avatar

Forkers

joshuasenining

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.