Skip to content

Commit

Permalink
Merge pull request #9 from sharedRDM/lth/mug-env-signup
Browse files Browse the repository at this point in the history
Signup: remove Signup env while retaining Login functionality
  • Loading branch information
mb-wali authored Dec 9, 2024
2 parents c96fb57 + 03024a2 commit 0f8f613
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
20 changes: 3 additions & 17 deletions UV-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ dependencies = [
uv sync
```

### **3. build assets**
### **build assets**

Compile and build assets for the project:

```bash
uv run invenio-cli assets build
```

### **4. start/destroy Services**
### **start/destroy Services**

Set up and start required services:

Expand All @@ -51,7 +51,7 @@ uv run invenio-cli services destroy
uv run invenio-cli services setup
```

### **5. run the app**
### **run the app**

Start the Invenio application:

Expand All @@ -67,17 +67,3 @@ issues related to architecture (e.g., `-84 architecture` errors) on macOS system
export SYSTEM_VERSION_COMPAT=1
arch -arm64 brew install python
```

### **recreating virtual env**

```bash
rm -rf .venv
uv venv --prompt invenio-v12 && source .venv/bin/activate
```

### **Notes: for services setup**

```bash
uv run invenio-cli services destroy
uv run invenio-cli services setup
```
5 changes: 2 additions & 3 deletions themes/MUG/invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ DATACITE_DATACENTER_SYMBOL = ""
# ----------------
# See https://github.com/inveniosoftware/invenio-accounts/blob/master/invenio_accounts/config.py
ACCOUNTS_LOCAL_LOGIN_ENABLED = True # enable local login
SECURITY_REGISTERABLE = True # local login: allow users to register
SECURITY_REGISTERABLE = False # local login: allow users to register
SECURITY_RECOVERABLE = True # local login: allow users to reset the password
SECURITY_CHANGEABLE = True # local login: allow users to change psw
# SECURITY_CONFIRMABLE = True # local login: users can confirm e-mail address
Expand Down Expand Up @@ -229,7 +229,6 @@ I18N_LANGUAGES = [("de", _("German"))]
THEME_SHOW_FRONTPAGE_INTRO_SECTION = False
"""Set True for frontpage Intrp."""


# Invenio-Override
# --------------

Expand Down Expand Up @@ -279,4 +278,4 @@ OVERRIDE_RESOURCE_OVERVIEW = True
"""Resource overview section"""

THEME_FOOTER_TEMPLATE = "invenio_override/footer_mug.html"
"""footer template"""
"""footer template"""

0 comments on commit 0f8f613

Please sign in to comment.