Skip to content

adjaba/icon-ui

Repository files navigation

Icon UI

A front-end for Icon UI image translation and game style transfer models.

Development

Master - React front-end and Flask back-end as two separate servers. Faster launching and instant refresh upon code changes - recommended for development purposes.

Unified - React front-end and Flask back-end as one server. For deployment purposes.

Installation - Master

Install node.js (>= 10.x) and yarn. Then install the node modules / Python dependencies:

cd client
yarn install
cd ..
yarn install
pip3 install -r requirements.txt

Installation - Unified

Install node.js (>= 10.x) and yarn. Then install the node modules / Python dependencies:

cd server
yarn install
cd ..
yarn install
pip3 install -r requirements.txt

Launching the app - Master and Unified

Run the development mode ([OS] = windows for Windows OS and linux for Linux/Ubuntu):

yarn [OS]

example:

yarn linux

By default, the master branch launches the React front-end at localhost:3000and the Python REST API at localhost:3001.

By default, the unified branch launches the site at localhost:3000.

Common launch errors

If running yarn linux raises a Module Not Found error, try running yarn linux2.

About

Game icon translation demo page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published