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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f5e8b331ab95e35013aa183c38156120a230c129075b88fdbd4e38bd98694c2 |
|
MD5 | 54ea684b60cdb4f5ff269ed7f5215db9 |
|
BLAKE2b-256 | b77c1cb51dd5983fda43c69a284572afa5cd535425fdbfa7954eda66930b976d |
Close
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 |