No project description provided
Project description
GarpixCMS Empty Template
Cookiecutter template for GarpixCMS == 1.0.0.
Makefile install
- 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.
- Apply environment variables:
cp example.env .env
- Install python dependencies
make venv
- Run the project
make install
Install
- 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.
- Apply environment variables:
cp example.env .env
-
Change a random string for
SECRET_KEY
andPOSTGRES_PASSWORD
in.env
. -
Install dependencies:
pipenv install
pipenv shell
- Run make command to install pre-commit hook:
make precommit
- 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
- Run the server:
python3 backend/manage.py runserver
- Enjoy!
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for django-phonenumber-field-for-garpix_user-8.0.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89559d4daf15f8519020fda83ca751a4f46a44611d8b3d2c202485e5b3a38805 |
|
MD5 | 4ba04c0072e24e858250b4cf358b61f5 |
|
BLAKE2b-256 | 313f6c6c37e56ed771af587b24c4f2c64461f09e002d56cd772753f7be1538a5 |
Close
Hashes for django_phonenumber_field_for_garpix_user-8.0.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c707fc69d06d1ffd1b2ebf254d40a19fa9d9ac0120ffa7894f9eaf2d51900bdc |
|
MD5 | 2ad50505ae87a89bf9ae27eadf62f3ee |
|
BLAKE2b-256 | 52cc1d07e7e4df14b70b6e36745caa7b94d59224263a749b727cf1949aa9a9de |