Skip to content

edd34/mayimmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MayImmo

This is the backend of a Real Estate MLS for Mayotte Island. The project is done using :

  • Python
  • Django DRF
  • Geopandas
  • Pandas
  • Faker

Configure the virtual environment

Create a new environment virtualenv

Create a virutal environment using virtualenv.

python3 -m venv venv

Entering the environment

source venv/bin/activate

Installation of package listed in requirement.txt

Use the package manager pip to install the dependencies.

pip3 install -r requirements.txt

Steps when running the program for the first time.

In order to run the backend program, you should follow the steps described below. All commands are run from the root folder.

Refreshing migrations

python manage.py makemigrations

Applying migrations

python manage.py migrate

Import a sample database from CSV

python manage.py importdb

Run the program

After the database is populated and correctly setup, you can run the backend server by executing the following command :

python manage.py runserver

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

API doc

The documentation of the public API is available under doc folder : API.md

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published