Skip to main content

No project description provided

Project description

GarpixCMS Empty Template

Cookiecutter template for GarpixCMS == 1.0.0.

Makefile install

  1. Install Docker and docker-compose.

For Debian, Ubuntu:

su
apt update; apt upgrade -y; apt install -y curl; curl -sSL https://get.docker.com/ | sh; curl -L https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose

Don't forget press CTRL+D to exit from super user account.

  1. Apply environment variables:
cp example.env .env
  1. Install python dependencies
make venv
  1. Run the project
make install

Install

  1. Install Docker and docker-compose.

For Debian, Ubuntu:

su
apt update; apt upgrade -y; apt install -y curl; curl -sSL https://get.docker.com/ | sh; curl -L https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose

Don't forget press CTRL+D to exit from super user account.

  1. Apply environment variables:
cp example.env .env
  1. Change a random string for SECRET_KEY and POSTGRES_PASSWORD in .env.

  2. Install dependencies:

pipenv install
pipenv shell
  1. Run make command to install pre-commit hook:
make precommit
  1. Up docker-compose, migrate database and create super user:
docker-compose up -d
python3 backend/manage.py makemigrations
python3 backend/manage.py migrate
python3 backend/manage.py createsuperuser
  1. Run the server:
python3 backend/manage.py runserver
  1. Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file django-phonenumber-field-for-garpix_user-8.0.1.tar.gz.

File metadata

  • Download URL: django-phonenumber-field-for-garpix_user-8.0.1.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/6.1.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.8.9

File hashes

Hashes for django-phonenumber-field-for-garpix_user-8.0.1.tar.gz
Algorithm Hash digest
SHA256 2f5e8b331ab95e35013aa183c38156120a230c129075b88fdbd4e38bd98694c2
MD5 54ea684b60cdb4f5ff269ed7f5215db9
BLAKE2b-256 b77c1cb51dd5983fda43c69a284572afa5cd535425fdbfa7954eda66930b976d

See more details on using hashes here.

File details

Details for the file django_phonenumber_field_for_garpix_user-8.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_phonenumber_field_for_garpix_user-8.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f257f4c00d866a7cfc63c5e0505c4dac9cdc94f6abf0c6e245d499bdff92d97
MD5 7b47420c37a9790102bcb1ff9593924d
BLAKE2b-256 8d2a3330fbd9d2053b543932a91f0d177528ca16b3aa58e5e84fd54a54746a51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page