Manuel S 14d06fc190 feat: Added database source plugin (#40)
* Rewrote API source plugin to prepare for incremental builds.
* Changed the font to Nunito.
* Improved display of artist names.
* Fixed cover images not taking up the available space leading to too much whitespace.
* Fixed several margins.
2021-03-29 02:37:16 +02:00
2020-10-27 00:22:17 +01:00
2020-10-27 00:22:17 +01:00

AnimeThemes Web Client

Development

  1. npm install
  2. npm run develop

Deployment

Hosting on root path

  1. npm run build
  2. Upload the contents of public to your server.

Hosting on sub-path

  1. Adjust pathPrefix in gatsby-config.js to your server environment.
  2. npm run build-with-paths
  3. Upload the contents of public to your server.

Configuration

You can configure certain settings by creating a .env.development (for development) or .env.production (for deployment) in the client root directory and include the following:

; The URL to the AnimeThemes API to use.
; If not specified, "https://staging.animethemes.moe" is used as a default.
GATSBY_API_URL = http://localhost

Apache Configuration

.htaccess files can be placed in static and will be copied to the public folder during build.

Used technologies

APIs

S
Description
Languages
TypeScript 99.5%
SCSS 0.5%