None
None
Python:
Upgraded:
None
Added:
None
JavaScript:
Upgraded:
jquery 3.6.1 -> 3.6.2
Added:
None
None
-
You must be upgraded to at least version 7.2.0 before proceeding. If you are on an earlier version, please refer to the upgrade process in the Version 7.2.0 release notes
-
Be sure to backup your database before proceeding.
-
Upgrade to Arches 7.2.1
pip install --upgrade arches==7.2.1
-
You must be upgraded to at least version 7.2.0 before proceeding. If you are on an earlier version, please refer to the upgrade process in the Version 7.2.0 release notes
-
Update the JavaScript dependencies and devDependencies In the project's
package.json
file fromstable/7.2.0
tostable/7.2.1
:# 7.2.0 { "dependencies": { "arches": "archesproject/arches#stable/7.2.0", }, "devDependencies": { "arches-dev-dependencies": "archesproject/arches-dev-dependencies#stable/7.2.0" }
# 7.2.1 { "dependencies": { "arches": "archesproject/arches#stable/7.2.1", }, "devDependencies": { "arches-dev-dependencies": "archesproject/arches-dev-dependencies#stable/7.2.1" }
-
In a seperate terminal, navigate to the root directory of the project ( you should be on the same level as
package.json
)- manually remove the
yarn.lock
file, eg.rm yarn.lock
- if it already exists, delete your
media/node_modules
folder - run
yarn
, this will install updated frontend dependencies in/media/node_modules
.
- manually remove the
-
If it's not already running, start the application server in a seperate terminal.
-
In the same terminal window where you ran
yarn
( on the same level aspackage.json
), runyarn start
oryarn build_development
. This will generate yourmedia/build
directory.yarn start
will build the frontend of the application and then start a webpack development serveryarn build_development
will build a development bundle for the frontend assests of the application -- this should complete in less than 2 minutes
NOTE: Alternatively you can run
python manage.py build_production
. This will create a a production bundle of frontend assessts and also callcollectstatic
. The process usually takes between 1 and 2 hours depending on hardware. -
If you are running Arches on Apache, be sure to run:
python manage.py build_production # see note in step 5
and restart your server.
sudo service apache2 reload