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

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