Skip to content

Commit

Permalink
updates readme #10757
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Apr 15, 2024
1 parent b5d6e04 commit 43bbc26
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions releases/7.6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,25 @@ The minimum supported version of Python is now 3.10. Python 3.11 is encouraged,
}
```
4. In settings.py, remove `"compressor"` from `INSTALLED_APPS`.
4. Remove the `.yarnrc` file
5. Update your project's JavaScript dependencies:
5. Update `.gitignore`:
1. Change `${project_name}/media/node_modules` to `node_modules`
2. Change `${project_name}/webpack/webpack-stats.json` to `webpack-stats.json`
3. If it exists, remove `${project_name}/webpack/webpack-user-config.js`
6. In settings.py:
1. Remove `"compressor"` from `INSTALLED_APPS`
2. Update `WEBPACK_LOADER` to the following:
```
WEBPACK_LOADER = {
"DEFAULT": {
"STATS_FILE": os.path.join(APP_ROOT, '..', 'webpack/webpack-stats.json'),
},
}
```
7. Update your project's JavaScript dependencies:
1. In the project's `package.json` file from `stable/7.5.0` to `stable/7.6.0`:
```
Expand All @@ -153,11 +169,11 @@ The minimum supported version of Python is now 3.10. Python 3.11 is encouraged,
yarn install
6. Run `python manage.py updateproject`
8. Run `python manage.py updateproject`
7. Start your application server in a separate terminal if it's not already running.
9. Start your application server in a separate terminal if it's not already running.
8. In the same terminal window where you ran `yarn` ( on the same level as `package.json` ):
10. In the same terminal window where you ran `yarn` ( on the same level as `package.json` ):
1. Run `yarn gettext:extract` followed by `yarn gettext:compile`. This will generate i18n files in your `locale` directory. Even if you're
not planning on internationalizing your project, it's important to have these files for creating Vue components.
Expand All @@ -170,7 +186,7 @@ The minimum supported version of Python is now 3.10. Python 3.11 is encouraged,
- `yarn build_production` This builds a production bundle. **takes up to 2hrs depending on resources**
- Alternatively you can `cd ..` up a directory and run `python manage.py build_production`. This will create a production bundle of frontend assessts and also call `collectstatic`.
9. If you are running Arches on Apache, be sure to run:
11. If you are running Arches on Apache, be sure to run:
```
collectstatic
Expand Down

0 comments on commit 43bbc26

Please sign in to comment.