shift3 / dj-starter Goto Github PK
View Code? Open in Web Editor NEWDjango Starter Project Cookiecutter Template
Home Page: https://shift3.github.io/dj-starter/
License: GNU General Public License v3.0
Django Starter Project Cookiecutter Template
Home Page: https://shift3.github.io/dj-starter/
License: GNU General Public License v3.0
https://shift3.github.io/dj-starter/docs/getting-started/intro#quick-start
Google Doc's quickstart differs from Dj- Starter's.
it does not include SSO session name SSO start URL, SSO region SSO registration scopes
All branches are being sync'd to dj_starter_demo which does not provide value and causes additional friction because dj_starter_demo becomes a mess of stale and unused branches. Additionally this is a poor use of resources, since I would only expect develop or main branch updates to sync to that demo repo.
Todo: update circleci scripts to only push to dj_starter_demo for develop and main branches
First I made sure I was logged in properly.
Then I tried to run terraform init
and was not able to as I was getting this error.
Error refreshing state: AccessDenied: Access Denied
status code: 403, request id: N7XHKNMYFE4YSDJ2, host id: OCFqyTMQgBoAS4I9CYEcnNiekCyV0LHxOtyFzCPjq39MK+yP3Qn4/8w1PIAMPo3bHjoh88MJISk=
terraform {
backend "s3" {
bucket = "shift3-terraform-state" //Does not exist in BWTC-Client-Sandbox and BWTC-Developer-Sandbox
key = "stemtaught-test-server/terraform.tfstate"
region = "us-west-2"
profile = "BWTC-Developer" //Would have to use profile pointing to the old original account for this too work
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
}
}
The cookie cutter project should install dependencies.
After punching out a copy of the cookie cutter project, the requirements fail to install with the following error.
Building wheels for collected packages: djangorestframework-camel-case, hiredis, django-eventstream, autobahn, django-grip, gripcontrol, pubcontrol, coreschema, pycairo, svglib
Building wheel for djangorestframework-camel-case (PEP 517) ... - done
Created wheel for djangorestframework-camel-case: filename=djangorestframework_camel_case-1.3.0-py3-none-any.whl size=7983 sha256=4847d373dc25e3fd4b2d43d707cc4c841943f5e73d2cf977e1b82411fec56201
Stored in directory: /home/circleci/.cache/pip/wheels/55/ba/5b/ee53e126a5748e95117f6e44d4fb8bed6d939ca96192b3dbbb
Building wheel for hiredis (setup.py) ... - \ | / - \ done
Created wheel for hiredis: filename=hiredis-2.0.0-cp310-cp310-linux_x86_64.whl size=92254 sha256=52cad17398239163fbc7249d4ca32727ac5687f6a2d5b9781e87995e7344d16a
Stored in directory: /home/circleci/.cache/pip/wheels/a9/b0/b0/a58f2bc314a1c78d077171184d746540f45437234bc67e4b4d
Building wheel for django-eventstream (setup.py) ... - done
Created wheel for django-eventstream: filename=django_eventstream-4.4.1-py3-none-any.whl size=33209 sha256=67406e45e620fe16cd7ddc5e14dd78078fdbf5ddc858f2a42ba1699f80220489
Stored in directory: /home/circleci/.cache/pip/wheels/4c/aa/b9/315b3ace4ca9538dbd244b5a7bc517c70c9a09cb47a17a8ee9
Building wheel for autobahn (setup.py) ... - \ | / done
Created wheel for autobahn: filename=autobahn-23.1.2-py2.py3-none-any.whl size=666860 sha256=6016d5449f58749539f43a31bc2a3e99004a6dee78c5c531d383b8ac3698c5c4
Stored in directory: /home/circleci/.cache/pip/wheels/0a/a4/60/d547cb0414567a087281bd1474426e29194bf88b1972dba289
Building wheel for django-grip (setup.py) ... - done
Created wheel for django-grip: filename=django_grip-3.2.0-py3-none-any.whl size=5545 sha256=5652e86d68a2f4331626be949fbb12ec173d0ddf3fc60cb38eccd671a6746dc3
Stored in directory: /home/circleci/.cache/pip/wheels/05/c0/52/19bd3d54cdc2000511aaa92eefae20ab22ae975f5860274eb2
Building wheel for gripcontrol (setup.py) ... - done
Created wheel for gripcontrol: filename=gripcontrol-4.1.0-py3-none-any.whl size=12360 sha256=db6d2c6176011e9a2df827136fe4ef08461864fa9b9d44395d7a79137d970185
Stored in directory: /home/circleci/.cache/pip/wheels/22/be/df/32a51ddcb835035a5270ad29d105804fd32182c374390b8857
Building wheel for pubcontrol (setup.py) ... - done
Created wheel for pubcontrol: filename=pubcontrol-3.4.0-py3-none-any.whl size=22324 sha256=5368a901c9f6e73a6169f23bb8acc0bcc166d810e3d8b5618231bff83b3d9938
Stored in directory: /home/circleci/.cache/pip/wheels/79/90/da/6418d47a54aeb22961076a4818a46352d290690632079e75c7
Building wheel for coreschema (setup.py) ... - done
Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15031 sha256=b3bd0f7190f673b88ec488ee07c5801522e7d04bca8bd9bd4e5fcff4e9c145b3
Stored in directory: /home/circleci/.cache/pip/wheels/97/f0/a1/ee57c9b2aaaac2e8867798bbde65749450ddae129085e1393d
Building wheel for pycairo (PEP 517) ... - error
ERROR: Command errored out with exit status 1:
command: /home/circleci/.pyenv/versions/3.10.1/bin/python3.10 /home/circleci/.pyenv/versions/3.10.1/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpq87oq0lb
cwd: /tmp/pip-install-zj8ntpg_/pycairo_206c4c07eef84698a29713621e0fce3b
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-cpython-310/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-cpython-310/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-cpython-310/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for pycairo
Building wheel for svglib (setup.py) ... - done
Created wheel for svglib: filename=svglib-1.5.1-py3-none-any.whl size=30920 sha256=ff5be765b63299245d9d136209a21213dc1c8b2fc612b4fa751d1732a660bbc2
Stored in directory: /home/circleci/.cache/pip/wheels/56/9f/90/f37f4b9dbf82987a24ae14f15586e96715cb669a4710b3b85d
Successfully built djangorestframework-camel-case hiredis django-eventstream autobahn django-grip gripcontrol pubcontrol coreschema svglib
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 21.2.4; however, version 23.1.2 is available.
You should consider upgrading via the '/home/circleci/.pyenv/versions/3.10.1/bin/python3.10 -m pip install --upgrade pip' command.
Exited with code exit status 1
CircleCI received exit code 1
All based on this convo: https://bitwiseindustries.slack.com/archives/C025A3UE1PC/p1684970197762019
pip install -r requirements/test.txt
Pull down the project from the development branch.
Run circleci script on base development and error pops up. Tried to re-do the cache, no such luck.
Please provide OS Version and Platform/Browser.
@coreyshuman and @Endtry both found:
nolanaatama/sd-1click-colab#43
https://www.reddit.com/r/StableDiffusion/comments/13ehad9/failed_to_build_pycairo_some_preprocessors_may/
and that adding the underlining dependency seemed to fix the issue by:
brew install cairo
https://shift3.github.io/dj-starter/docs/getting-started/intro#quick-start
on boarding Google Doc dose not much the quick start of the Dj-starter
it dose not include SSO start URL, SSO region, SSO registration scopes.
https://shift3.github.io/dj-starter/docs/deploying-your-app/provisioning-infrastructure#quick-start
Onboarding Google Doc does not match the quickstart of the Dj-Starter
It does not include SSO session name, SSO start URL, SSO region, and SSO registration scopes
Within our other boilerplate projects, we include issue templates like so:
https://github.com/Shift3/boilerplate-client-react/tree/develop/.github/ISSUE_TEMPLATE
Also within our Standards and Practices: https://github.com/Shift3/standards-and-practices/tree/main/.github/ISSUE_TEMPLATE
We have no standards of issues at the moment, so any new issues will manually have to put in the headers/concepts that we usually shortcut using our templates.
If we include each one of these templates, we will reduce time/energy creating Bug reports/Feature requests/etc...that commonly pop up in repos.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.