MapQuester is an innovative platform for creating and sharing personalized maps with custom points of interest (POIs). Designed to enhance local discovery and provide unparalleled map customization, MapQuester fills the gap left by traditional mapping tools.
- Clone the repository
- Install dependencies
- Run the server
-
Set up PostgreSQL database: a. Install PostgreSQL if not already installed b. Create a new database:
createdb mapquesterc. Create a new user:
createuser -s mapquester_userd. Set a password for the new user:
psql \password mapquester_usere. Grant privileges to the user:
GRANT ALL PRIVILEGES ON DATABASE mapquester TO mapquester_user; -
Configure database settings: a. Copy the
example.envfile to.env:cp example.env .envb. Update the
.envfile with your database settings:DB_NAME=mapquester DB_USER=mapquester_user DB_PASSWORD=your_secure_password DB_HOST=localhost DB_PORT=5432 -
Run database migrations:
python manage.py migrate
Note: in base directory
- Start service
docker-compose -f docker-compose.dev.yml up --build - Stop service
docker-compose -f docker-compose.dev.yml down
# Install tools
pip install flake8 black
# Format code
black .
# Check code quality
flake8 .
# Run tests
python manage.py test
# Run linting
npm run lint
# Run tests
npm run test