Skip to content

Commit

Permalink
[REMOVE] Section about imicus-fat migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeufer committed Nov 8, 2024
1 parent a5378a0 commit e1ef391
Showing 1 changed file with 6 additions and 44 deletions.
50 changes: 6 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ ______________________________________________________________________
- [Updating](#updating)
- [Data Migration](#data-migration)
- [Import From Native FAT](#import-from-native-fat)
- [Import From ImicusFAT](#import-from-imicusfat)
- [Uninstall ImicusFAT](#uninstall-imicusfat)
- [Settings](#settings)
- [Permissions](#permissions)
- [Changelog](#changelog)
Expand Down Expand Up @@ -112,8 +110,10 @@ please install it first before proceeding. (See the official
[AA installation guide](https://allianceauth.readthedocs.io/en/latest/installation/allianceauth.html)
for details)

**For users migrating from one of the other FAT systems, please read the specific
instructions FIRST.**
> \[!IMPORTANT\]
>
> For users migrating from Alliance Auth's built-in FAT systems,
> please read the [specific instructions](#data-migration) FIRST.
### Step 1: Install the App<a name="step-1-install-the-app"></a>

Expand Down Expand Up @@ -176,8 +176,8 @@ more.
## Data Migration<a name="data-migration"></a>

Right after the **initial** installation and running migrations,
you can import the data from Alliance Auth's native FAT system or from ImicusFAT if
you have used one of these until now.
you can import the data from Alliance Auth's native FAT system if
you have used one it until now.

### Import From Native FAT<a name="import-from-native-fat"></a>

Expand All @@ -187,44 +187,6 @@ To import from the native FAT module, simply run the following command:
python myauth/manage.py afat_import_from_allianceauth_fat
```

### Import From ImicusFAT<a name="import-from-imicusfat"></a>

To import from the ImicusFAT module, simply run the following command:

```shell
python myauth/manage.py afat_import_from_imicusfat
```

#### Uninstall ImicusFAT<a name="uninstall-imicusfat"></a>

Now that you've migrated, you can uninstal `ImicusFAT`.

First, remove all Django migrations for `ImicusFAT` with:

```shell
python manage.py migrate imicusfat zero
```

This will remove all migrations for `ImicusFAT` including its DB tables.

Should this command throw an error, a bit of manual labor is needed, but nothing you
can't handle, I'm sure.

```shell
python manage.py migrate imicusfat zero --fake
```

And remove all DB tables beginning with `imicusfat_` from your DB manually afterwards.

Now that the DB is cleaned up, time to remove te app.

```shell
pip uninstall allianceauth-imicusfat
```

Now remove `imicusfat` from your `INSTALLED_APPS` in your `local.py`, restart
supervisor and ... Done!

## Settings<a name="settings"></a>

To customize the module, the following settings are available.
Expand Down

0 comments on commit e1ef391

Please sign in to comment.