How to Install PropertyWebBuilder on Windows 10
PropertyWebBuilder is a platform for creating property rental and sales websites. This tutorial will guide you on how to install PropertyWebBuilder on your Windows 10 computer.
Prerequisites
Before starting the installation process, please ensure that you have the following software installed on your computer:
- Node.js (version 12 or later)
- Git
Installation Steps
Open the command prompt on your computer by pressing the "Windows + R" buttons on your keyboard, type "cmd" in the "Run" dialog box, and click "OK".
Clone the PropertyWebBuilder repository from GitHub by entering the following command in the command prompt:
git clone https://github.com/etewiah/property_web_builder.gitNavigate to the PropertyWebBuilder directory by using the "cd" command:
cd property_web_builderInstall the project dependencies by running the following command:
npm installCreate a new file called ".env" in the root directory of the project by running the following command:
echo 'DATABASE_URL=postgres://postgres:password@localhost:5432/property_web_builder_development' >.envNote: Replace "password" with your PostgreSQL database password.
Initialize the database by running the following command:
npx sequelize-cli db:create npx sequelize-cli db:migrateThis creates a new database and runs the database migrations.
Start the server by running the following command:
npm startThis should start the server on http://localhost:3000.
Open your web browser and navigate to http://localhost:3000 to access the PropertyWebBuilder application.
Congratulations! You have successfully installed PropertyWebBuilder on your Windows 10 computer.