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.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fed33e0c3fa1dfb74a308c3cd7f50927e35897285b9020956d83d7dbce5e038 |
|
MD5 | 9bec602718c961cf34bce4161524cffd |
|
BLAKE2b-256 | 26d5cede2e603404f63a03c9cf7eb52120a7c24f34b58e83623a744a8e135ad1 |
Close
Hashes for django_phonenumber_field_for_garpix_user-8.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c099198f3d30c443f5e7121c9fd52c6687a44167bb225aa6394c3f431885b955 |
|
MD5 | c0f59fd256ae490a3fcef972a4613673 |
|
BLAKE2b-256 | 6e8b325ea5261d0578a6c04d2c407abfb61330823cb128391cc4fc2c65b5c543 |