Skip to content

Commit

Permalink
Add survey for 1 on 1 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Feb 24, 2024
1 parent 94ff7ae commit 36b4a1d
Show file tree
Hide file tree
Showing 143 changed files with 788 additions and 504 deletions.
2 changes: 1 addition & 1 deletion .envs/.local/.postgres
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# ------------------------------------------------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=growth_plan_linker
POSTGRES_DB=growth_forge
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug
2 changes: 1 addition & 1 deletion .envs/.production/.django
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY=rzB5Sl2LAHyQOR5SAKqc0KeJTyUjNYVhd0ovG6H1dGrdvpd2FtZ9phEacFvFcbd0
DJANGO_ADMIN_URL=Rz4fpz5g02YMT9VXPQ4QMu8J3hoXOIBa/
DJANGO_ALLOWED_HOSTS=.https://opensciencelabs.github.io/growth-plan-linker
DJANGO_ALLOWED_HOSTS=.https://opensciencelabs.github.io/growth-forge

# Security
# ------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .envs/.production/.postgres
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# ------------------------------------------------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=growth_plan_linker
POSTGRES_DB=growth_forge
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a bug in Growth Plan Linker!**
**Thank you for wanting to report a bug in Growth Forge!**
Verify first that your issue is not [already reported on
GitHub][issue search].
[issue search]: https://github.com/xmnlab/growth-plan-linker.git/issues?q=is%3Aopen+is%3Aissue+label%3Abug
[issue search]: https://github.com/xmnlab/growth-forge.git/issues?q=is%3Aopen+is%3Aissue+label%3Abug
- type: textarea
attributes:
Expand Down Expand Up @@ -124,24 +124,24 @@ body:

- type: textarea
attributes:
# label: Growth Plan Linker version
# label: Growth Forge version
# description: >-
# Paste verbatim output from `Growth Plan Linker --version` below, under the prompt line.
# Paste verbatim output from `Growth Forge --version` below, under the prompt line.
# Don't wrap it with triple backticks — your whole input will be
# turned into a code snippet automatically.
render: console
placeholder: |
python -m pip show Growth Plan Linker
python -m pip show Growth Forge
validations:
required: true

- type: checkboxes
attributes:
label: Code of Conduct
description: |
Read the [`Growth Plan Linker` Code of Conduct][CoC] first.
Read the [`Growth Forge` Code of Conduct][CoC] first.
[CoC]: https://github.com/xmnlab/growth-plan-linker.git/coc/CODE_OF_CONDUCT.md
[CoC]: https://github.com/xmnlab/growth-forge.git/coc/CODE_OF_CONDUCT.md
options:
- label: I agree to follow the Code of Conduct
required: true
Expand Down
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
blank_issues_enabled: true
contact_links:
- name: 🙋 Usage Questions
url: https://github.com/xmnlab/growth-plan-linker.git/discussions
url: https://github.com/xmnlab/growth-forge.git/discussions
about: |
Use Growth Plan Linker's GitHub Discussions to ask "How do I do X with Growth Plan Linker?".
Use Growth Forge's GitHub Discussions to ask "How do I do X with Growth Forge?".
- name: 📖 Tutorial
url: https://github.com/xmnlab/growth-plan-linker.git
url: https://github.com/xmnlab/growth-forge.git
about: |
The Growth Plan Linker tutorial is continually updated and provides an in depth walkthrough
of how to use the latest release of Growth Plan Linker.
- name: 📝 Growth Plan Linker Code of Conduct
url: https://github.com/xmnlab/growth-plan-linker.git/coc/CODE_OF_CONDUCT.md
about: Expectations for how people will interact with each other on Growth Plan Linker's GitHub.
The Growth Forge tutorial is continually updated and provides an in depth walkthrough
of how to use the latest release of Growth Forge.
- name: 📝 Growth Forge Code of Conduct
url: https://github.com/xmnlab/growth-forge.git/coc/CODE_OF_CONDUCT.md
about: Expectations for how people will interact with each other on Growth Forge's GitHub.
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/documentation-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a problem with Growth Plan Linker's documentation!**
**Thank you for wanting to report a problem with Growth Forge's documentation!**
Verify first that your issue is not [already reported on
GitHub][issue search].
[issue search]: https://github.com/xmnlab/growth-plan-linker.git/issues?q=is%3Aopen+is%3Aissue+label%3Adocs
[issue search]: https://github.com/xmnlab/growth-forge.git/issues?q=is%3Aopen+is%3Aissue+label%3Adocs
- type: textarea
attributes:
Expand All @@ -25,7 +25,7 @@ body:
If there are external references that are related please link them here
as well.
placeholder: >-
I was reading the Growth Plan Linker documentation for Growth Plan Linker version X and I'm having
I was reading the Growth Forge documentation for Growth Forge version X and I'm having
problems understanding Y.
It would be very helpful if that got rephrased as Z.
validations:
Expand All @@ -43,9 +43,9 @@ body:
attributes:
label: Code of Conduct
description: |
Read the [`Growth Plan Linker` Code of Conduct][CoC] first.
Read the [`Growth Forge` Code of Conduct][CoC] first.
[CoC]: https://github.com/xmnlab/growth-plan-linker.git/blob/main/CODE_OF_CONDUCT.md
[CoC]: https://github.com/xmnlab/growth-forge.git/blob/main/CODE_OF_CONDUCT.md
options:
- label: I agree to follow the Code of Conduct
required: true
Expand Down
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: >
**Thank you for wanting to suggest a feature for Growth Plan Linker!**
**Thank you for wanting to suggest a feature for Growth Forge!**
Expand All @@ -17,7 +17,7 @@ body:
already be implemented in a development release.
[issue search]: https://github.com/xmnlab/growth-plan-linker.git/issues?q=is%3Aopen+is%3Aissue+label%3Afeat%2Fenhancement
[issue search]: https://github.com/xmnlab/growth-forge.git/issues?q=is%3Aopen+is%3Aissue+label%3Afeat%2Fenhancement
- type: textarea
attributes:
Expand All @@ -28,7 +28,7 @@ body:
What's the problem this feature will solve?
What are you trying to do, that you are unable to achieve
with the **latest** release of Growth Plan Linker?
with the **latest** release of Growth Forge?
* Provide examples of real-world use cases that this would enable
Expand All @@ -44,7 +44,7 @@ body:
If there are external references or other GitHub Issues that are related
please link them here as well.
placeholder: >-
I am trying to do X with Growth Plan Linker version x.y.z and I think that implementing
I am trying to do X with Growth Forge version x.y.z and I think that implementing
new feature Y would be very helpful for me and every other user because of Z.
validations:
required: true
Expand All @@ -70,9 +70,9 @@ body:
attributes:
label: Code of Conduct
description: |
Read the [`Growth Plan Linker` Code of Conduct][CoC] first.
Read the [`Growth Forge` Code of Conduct][CoC] first.
[CoC]: https://github.com/xmnlab/growth-plan-linker.git/coc/CODE_OF_CONDUCT.md
[CoC]: https://github.com/xmnlab/growth-forge.git/coc/CODE_OF_CONDUCT.md
options:
- label: I agree to follow the Code of Conduct
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
miniforge-version: latest
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
activate-environment: growth-plan-linker
activate-environment: growth-forge
auto-update-conda: true
conda-solver: libmamba

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
miniforge-version: latest
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
activate-environment: growth-plan-linker
activate-environment: growth-forge
auto-update-conda: true
conda-solver: libmamba

Expand Down
34 changes: 29 additions & 5 deletions .makim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,9 @@ groups:
CWD=$(pwd)
CMD_FLAG="{{ '--check' if args.check else '' }} --no-input"
for app in 'sites' 'growth_plan_linker' 'projects' 'linker' ''; do
echo -e "\nMaking migration files for: '${app}' ...\n"
CMD="python manage.py makemigrations ${CMD_FLAG} ${app}"
sugar run --service app --cmd $CMD
done
echo -e "\nMaking migration files ...\n"
CMD="python manage.py makemigrations ${CMD_FLAG} sites growth_forge projects one_on_one growth_plan"
sugar run --service app --cmd $CMD
echo "[II] postgres is running."
Expand All @@ -138,3 +136,29 @@ groups:
CMD="python manage.py migrate --no-input"
sugar run --service app --cmd $CMD
create-superuser:
args:
email:
help: Specify the username
type: string
required: True
username:
help: Specify the username
type: string
required: True
password:
help: Specify the password
type: string
required: True
help: create an admin user
shell: bash
run: |
sugar ext start --services postgres --options -d
echo "[II] postgres is running."
export DJANGO_SUPERUSER_PASSWORD={{ args.password }}
export DJANGO_SUPERUSER_USERNAME={{ args.username }}
CMD="python manage.py createsuperuser --noinput --email {{ args.email }}"
sugar run --service app --cmd $CMD --options --env DJANGO_SUPERUSER_PASSWORD=$DJANGO_SUPERUSER_PASSWORD --env DJANGO_SUPERUSER_USERNAME=$DJANGO_SUPERUSER_USERNAME
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ repos:
name: vulture
entry: vulture --min-confidence 80
language: system
files: "src/growth-plan-linker"
files: "src/growth_forge"
description: Find unused Python code.
pass_filenames: true
types:
Expand All @@ -92,7 +92,7 @@ repos:
name: mccabe
entry: python -m mccabe --min 10
language: system
files: "src/growth-plan-linker"
files: "src/growth_forge"
pass_filenames: true
types:
- python
6 changes: 3 additions & 3 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
{
"replacements": [
{
"files": ["src/growth_plan_linker/__init__.py"],
"files": ["src/growth_forge/__init__.py"],
"from": "return '.*' # semantic-release",
"to": "return '${nextRelease.version}' # semantic-release",
"results": [
{
"file": "src/growth_plan_linker/__init__.py",
"file": "src/growth_forge/__init__.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
Expand Down Expand Up @@ -65,7 +65,7 @@
"assets": [
"pyproject.toml",
"docs/changelog.md",
"src/growth_plan_linker/__init__.py"
"src/growth_forge/__init__.py"
],
"message": "chore(release): ${nextRelease.version}"
}
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Growth-Plan-Linker
# GrowthForge

Growth-Plan-Linker is a simplified feedback exchange platform designed to
facilitate periodic feedback between individuals within specific projects. It
aims to streamline communication and insights sharing, enhancing project
collaboration and personal development.
GrowthForge is a simplified feedback exchange platform designed to facilitate
periodic feedback between individuals within specific projects. It aims to
streamline communication and insights sharing, enhancing project collaboration
and personal development.

- Documentation: <https://opensciencelabs.github.io/growth-plan-linker>
- Documentation: <https://opensciencelabs.github.io/growth-forge>

## Features

Growth-Plan-Linker includes several key features to manage feedback efficiently:
GrowthForge includes several key features to manage feedback efficiently:

### Projects

Expand Down Expand Up @@ -60,19 +60,19 @@ Growth-Plan-Linker includes several key features to manage feedback efficiently:

## Contributing

Growth-Plan-Linker is open for contributions. Whether it's feature requests, bug
reports, or code contributions, we welcome your input to make Growth-Plan-Linker
GrowthForge is open for contributions. Whether it's feature requests, bug
reports, or code contributions, we welcome your input to make GrowthForge
better. Please see our contributing guidelines for more information.

## License

Growth-Plan-Linker is licensed under the BSD 3-Clause License.
GrowthForge is licensed under the BSD 3-Clause License.

## Contact

For support or to get in touch with the developers, please open an issue.

---

We hope Growth-Plan-Linker enhances your project collaboration and personal
development efforts!
We hope GrowthForge enhances your project collaboration and personal development
efforts!
2 changes: 1 addition & 1 deletion conda/dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: growth-plan-linker
name: growth-forge
channels:
- nodefaults
- conda-forge
Expand Down
16 changes: 8 additions & 8 deletions containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
FROM condaforge/mambaforge:latest

LABEL maintainer="Ivan Ogasawara <[email protected]>"
LABEL org.opencontainers.image.title="Growth Plan Linker"
LABEL org.opencontainers.image.authors="Growth Plan Linker Team"
LABEL org.opencontainers.image.source="https://github.com/xmnlab/growth-plan-linker.git"
LABEL org.opencontainers.image.title="Growth Forge"
LABEL org.opencontainers.image.authors="Growth Forge Team"
LABEL org.opencontainers.image.source="https://github.com/xmnlab/growth-forge.git"
LABEL org.opencontainers.image.version="latest"
LABEL org.opencontainers.image.description="The main objective of this platform is to offer a space to handle and organize feedback between two people"

Expand All @@ -18,7 +18,7 @@ SHELL ["/bin/bash", "-c"]
# executing commands with /bin/bash -c
# Needed to have the micromamba activate command configured etc.

ENV ENV_NAME=growth_plan_linker
ENV ENV_NAME=growth_forge
ENV DEBIAN_FRONTEND=noninteractive
ARG UID=1000
ARG GID=1000
Expand All @@ -39,9 +39,9 @@ RUN apt-get update && \
vim && \
rm -rf /var/lib/apt/lists/*

USER growth_plan_linker
USER growth_forge

WORKDIR /growth-plan-linker
WORKDIR /growth-forge

COPY pyproject.toml .

Expand All @@ -54,10 +54,10 @@ RUN mamba install -y poetry && \
poetry install --no-dev --no-interaction --no-ansi


COPY . /growth-plan-linker/
COPY . /growth-forge/

COPY . .

COPY compose.yaml .

CMD ["python", "growth_plan_linker.py"]
CMD ["python", "growth_forge.py"]
2 changes: 1 addition & 1 deletion containers/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SHELL ["/bin/bash", "-c"]
# executing commands with /bin/bash -c
# Needed to have the micromamba activate command configured etc.

ENV ENV_NAME=growth-plan-linker
ENV ENV_NAME=growth-forge
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
ARG UID=1000
Expand Down
Loading

0 comments on commit 36b4a1d

Please sign in to comment.