Commit Graph

7 Commits

Author SHA1 Message Date
daveoconnor
58b791eee2 Reduced steps for local development setup for social media auth (#1374) (#1383)
This is related to ticket #1374, and simplifies the steps for local
development environments to have a working login flow for github and
google.

The improvements were configuration for the client id and secret for
google and github via .env vars instead of having to go through setting
up "Social Applications" via the admin interface, and automating the
process for creating google cloud projects in which oauth clients can be
created. Documentation was adjusted to fit.

That was as far as this could be automated given limitations on both
Google Cloud Platform and Github's APIs for creating oauth clients/apps.

The terraform process can be improved if these tickets see some progress
or an API comes about to support this.

Google
https://github.com/hashicorp/terraform-provider-google/issues/16452
https://issuetracker.google.com/issues/116182848

Github
https://github.com/integrations/terraform-provider-github/issues/786
2024-10-30 11:31:34 -07:00
daveoconnor
4c17724f00 Updated login flow to match Figma (#1167, #1128) (#1311)
Includes email for various signup/login related events which we'll need
to ensure there's support for in staging and prod
2024-10-04 10:09:44 -07:00
Sam Darwin
3233fb22c7 docker-compose bootstrap scripts (#1217)
Closes #1216
2024-08-30 07:13:26 -06:00
Sam Darwin
a1d51bb792 Docs: reviewing local docker-compose steps (#1178)
Testing docker-compose. Here are things I noticed.  

- `styles.css` seemed to be missing in the local docker-compose
environment, even though it's present in the docker image. With
docker-compose a volume is mounted. The volume points to your git
repository where styles.css is now git-ignored.
  
Therefore, I am adding steps in the README to build `styles.css`.
@kennethreitz @rbbeeston , is this incorrect? Should the instructions be
different? What method do you use?

- local development: there had been a note to install Python 3.11. Even
though Django containers are running with Python 3.11, it should be
acceptable for the local OS to have the system default of Python 3.10.
They are not directly interacting. Don't modify the system python.

- To view the Users Guide and Contributors Guide, adding variables to
the env.template (and your .env file)

```
STATIC_CONTENT_AWS_ACCESS_KEY_ID=
STATIC_CONTENT_AWS_SECRET_ACCESS_KEY=
STATIC_CONTENT_BUCKET_NAME=
STATIC_CONTENT_REGION=
STATIC_CONTENT_AWS_S3_ENDPOINT_URL=

```

If anyone uses docker-compose and notices the instructions are
incomplete, please comment and/or contribute fixes to the docs.
2024-08-14 12:49:55 -06:00
Lacey Williams Henschel
b15a6f19de Redirect allauth callback urls in the static content view
- Override django-allauth template
- Add docs on local dev social accounts
2023-07-12 06:25:23 -07:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
sdarwin
0ac2857bf4 Docs: development notes 2023-05-16 14:35:04 -07:00