Grocket is an international online marketplace that specializes in secondhand items. It provides a platform for users to buy and sell a variety of used goods from all over the world, including clothing, electronics, furniture, and more.
| Color | Hex |
|---|---|
| Primary Color |
To run this project, you will need to add the following environment variables to your .env file.
infra/.env
DB_ENGINE=django.db.backends.postgresql
DB_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=<your password>
DB_HOST=db
DB_PORT=5432
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0This project uses Poetry as backend package manager
Linux, macOS, Windows (WSL)
curl -sSL https://install.python-poetry.org | python3 -Windows (Powershell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -Clone the project
git clone https://github.com/alexzawadsky/Grocket.gitGo to the project directory
cd frontendInstall dependencies
npm installStart the server
npm run devGo to the backend directory
cd backendInstall dependencies
poetry shell
poetry installGo to the project directory
cd grocketApply migrations
python manage.py migrateAdd dump data to the database
sh data/json/add.shOR
python3 manage.py loaddatautf8 data/json/categories.json
python3 manage.py loaddatautf8 data/json/promotions.json
python3 manage.py loaddatautf8 data/json/statuses.jsonStart the server
python manage.py runserverGo to the docker-compose directory
cd infraStart docker with bash script
sh install.shStart docker manually
docker-compose up -d --build
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py collectstatic
docker-compose exec web python manage.py loaddatautf8 data/json/categories.json
docker-compose exec web python manage.py loaddatautf8 data/json/promotions.json
docker-compose exec web python manage.py loaddatautf8 data/json/statuses.jsonAll contact options are available in our profiles, feel free to DM using any option.
