Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
d97d2457
Verified
Commit
d97d2457
authored
2 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Update docs and scripts for Vite
parent
3fd148ce
No related branches found
No related tags found
1 merge request
!1132
Resolve "Evaluate use of Vite instead of Webpack"
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.rst
+9
-0
9 additions, 0 deletions
CHANGELOG.rst
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
docs/admin/10_install.rst
+1
-1
1 addition, 1 deletion
docs/admin/10_install.rst
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
13 additions
and
4 deletions
CHANGELOG.rst
+
9
−
0
View file @
d97d2457
...
...
@@ -9,6 +9,12 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Deprecated
~~~~~~~~~~
* The `webpack_bundle` management command is replaced by the new `vite`
command. The `webpack_bundle` command will be removed in AlekSIS-Core 4.0.
Added
~~~~~
...
...
@@ -19,6 +25,8 @@ Changed
~~~~~~~
* Rewrite of frontend using Vuetify
* The runuwsgi dev server now starts a Vite dev server with HMR in the
background
* OIDC scope "profile" now exposes the avatar instead of the official photo
* Based on Django 4.0
* Use built-in Redis cache backend
...
...
@@ -27,6 +35,7 @@ Changed
requests
* Incorporate SPDX license list for app licenses on About page
* [Dev] The undocumented field `check` on `DataCheckResult` was renamed to `data_check`
* Frontend bundling migrated from Webpack to Vite
Fixed
~~~~~
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
2
View file @
d97d2457
...
...
@@ -75,7 +75,7 @@ CMD ["/usr/local/bin/aleksis-docker-startup"]
# Install assets
FROM
core
as
assets
RUN
eatmydata aleksis-admin
webpack_bundle
;
\
RUN
eatmydata aleksis-admin
vite build
;
\
eatmydata aleksis-admin collectstatic
--no-input
;
\
rm
-rf
/usr/local/share/.cache
# FIXME Introduce deletion after we don't need materializecss anymore for SASS
...
...
@@ -124,7 +124,7 @@ ONBUILD RUN set -e; \
if
[
-n
"
$APPS
"
]
;
then
\
eatmydata pip
install
$APPS
;
\
fi
;
\
eatmydata aleksis-admin
webpack_bundle
;
\
eatmydata aleksis-admin
vite build
;
\
eatmydata aleksis-admin collectstatic
--no-input
;
\
rm
-rf
/usr/local/share/.cache
;
\
eatmydata apt-get remove
--purge
-y
yarnpkg
$BUILD_DEPS
;
\
...
...
This diff is collapsed.
Click to expand it.
docs/admin/10_install.rst
+
1
−
1
View file @
d97d2457
...
...
@@ -144,7 +144,7 @@ After that, you can install the aleksis meta-package, or only `aleksis-core`:
.. code-block:: shell
pip3 install aleksis
aleksis-admin
webpack_bundle
aleksis-admin
vite build
aleksis-admin collectstatic
aleksis-admin migrate
aleksis-admin createinitialrevisions
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
d97d2457
...
...
@@ -11,7 +11,7 @@ skip_install = true
envdir
=
{toxworkdir}/globalenv
commands_pre
=
poetry
install
-E
ldap
poetry
run
aleksis-admin
webpack_bundle
poetry
run
aleksis-admin
vite
build
poetry
run
aleksis-admin
collectstatic
--no-input
commands
=
poetry
run
pytest
--cov
=
. {posargs} aleksis/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment