Clarified instructions

Gave a basic rundown on how to install step-by-step, based on walking a complete beginner through the process.
This commit is contained in:
Wesley Grove 2021-04-12 20:55:05 -04:00 committed by GitHub
parent d15f148f40
commit 14e79fec0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,30 +2,49 @@
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
In the terminal, do the following:
```bash
cd fantasia-archive-master
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 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)
- 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
npm run dev
```
### Build the app for production
## Build the app for production
Once again in the terminal, run the following:
```bash
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
```