Git Product home page Git Product logo

ratethelandlord's Introduction

Rate The Landlord

A simple website for Renter's to rate their Landlord

Getting Started

Make sure you have Docker Desktop Installed

Copy the .env.example in a new .env file.

Set the environment to development

Then run the following commands:

  • Install Packages cd frontend && npm i && cd ../backend && npm i

  • Start docker-compose -f docker-compose.dev.yml up -d --build

The project should not be running at http://localhost and pick up changes you make in you IDE

Load the Database with Dummy Reviews

Make sure your docker environment is running.

  • Get the CONTAINER ID of the postgres container with the command docker ps
  • Make sure the permissions are set correctly with sudo chmod +x load-database.sh
  • Run the script with command ./load-database.sh
  • You will be prompted for the CONTAINER ID, postgres username (this is set in your .env file, and the number of rows you wish to populate)

Your database should now be loaded. Run this command as much as your wish.

Troubleshooting

Captcha Not Working

If you are trying to submit a review locally, you need to edit your hosts file to allow Captcha to work. Follow These guides:

ESLint Parsing Error with JetBrains IDE in WSL

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

ratethelandlord's People

Contributors

ratethelandlordadmin avatar kellenwiltshire avatar run37927 avatar jallen2034 avatar ritesh-pandey avatar stephenmartin2951 avatar

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.