mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-09-30 00:56:59 +13:00
commit
f4e6e8b564
1 changed files with 22 additions and 3 deletions
25
README.md
25
README.md
|
@ -2,30 +2,49 @@
|
||||||
|
|
||||||
A database manager for world building
|
A database manager for world building
|
||||||
|
|
||||||
|
# How to Install
|
||||||
|
|
||||||
|
## Install Node.JS
|
||||||
|
|
||||||
|
Simply install Node.JS for your system. You can get it straight from their site, or on Linux, install it through your package manager.
|
||||||
|
|
||||||
|
## Download the program
|
||||||
|
|
||||||
|
Click on the green code button above, and download the repository as a zip file. Extract the zip file and move the resulting fantasia-archive-master folder to your home directory.
|
||||||
|
|
||||||
## Install the dependencies
|
## Install the dependencies
|
||||||
|
|
||||||
|
In the terminal, do the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
cd fantasia-archive-master
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
- **IMPORTAN NOTE:** Due to issues with this package being written in somewhat older version of nodeJS, the script will fizzle out upon building due to wrong version of `.d.ts` file in one of the included NPM packages.
|
** Prep for build
|
||||||
|
Due to issues with this package being written in somewhat older version of nodeJS, the script will fizzle out upon building due to wrong version of `.d.ts` file in one of the included NPM packages.
|
||||||
- The proper replacement file can be found in `_typeFix/index.d.ts`
|
- The proper replacement file can be found in `_typeFix/index.d.ts`
|
||||||
- The faulty file can be found in `node_modules\builder-util\node_modules\@types\fs-extra\index.d.ts`
|
- The faulty file can be found in `node_modules\builder-util\node_modules\@types\fs-extra\index.d.ts`
|
||||||
- To fix this issue, simply copy the contents of the proper replacement over the buggy faulty file (or just replace its contents)
|
- To fix this issue, simply copy the contents of the proper replacement over the buggy faulty file (or just replace its contents)
|
||||||
- Once this is done, the build should run as normal without any issues
|
- Once this is done, the build should run as normal without any issues
|
||||||
|
|
||||||
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
## Optional: Start the app in development mode (hot-code reloading, error reporting, etc.)
|
||||||
|
|
||||||
|
If you don't know what's going on, skip this step.
|
||||||
```bash
|
```bash
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build the app for production
|
## Build the app for production
|
||||||
|
|
||||||
|
Once again in the terminal, run the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
After it is complete, go to /dist/electron/Packaged and select the dmg or AppImage file there and run it. You have finished installing the program.
|
||||||
|
|
||||||
### New object files go into
|
### New object files go into
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue