!!! Setup your preferred backend before these steps !!!
-
Clone the repo
[email protected]:thunderstore-io/thunderstore-ui.git
-
Setup FontAwesome token. One way to do it is to add a
.npmrc
file with the following contents, underthunderstore-ui/build-secrets/.npmrc
@fortawesome:registry = "https://npm.fontawesome.com/"
//npm.fontawesome.com/:_authToken = YOUR_FA_TOKEN
-
Run
yarn install
first on the repo root (thunderstore-ui
folder) and then again in thethunderstore-ui/apps/cyberstorm-remix
folder. -
Add
.env.development
and/or.env.production
files. You can copy the.env
file, rename and edit the values to your needs. (For exampleENABLE_BROKEN_PAGES
) lets you see pages that are not enabled in production. -
Run the dev script or the build and start script.
-
The project is now running in
localhost:3000
Build and start
yarn workspace @thunderstore/cyberstorm-remix build
yarn workspace @thunderstore/cyberstorm-remix start --port 3000 --host 0.0.0.0
Dev script
yarn workspace @thunderstore/cyberstorm-remix dev --port 3000 --host 0.0.0.0
Keep in mind that when using the ts-proxy, the sessions and actions will be made against the actual production Thunderstore
- Open hosts file as administrator (
C:\Windows\System32\drivers\etc
) and add this127.0.0.1 thunderstore.temp
there - Download and install Docker and docker-compose. For windows people, Docker for Windows should be enough.
- Open up a terminal and navigate to
thunderstore-ui/tools/ts-proxy
- Run
docker compose up
- Add these to your
.env.development
or.env.production
PUBLIC_SITE_URL=http://thunderstore.temp
PUBLIC_API_URL=http://thunderstore.temp:81
PUBLIC_AUTH_URL=http://auth.thunderstore.temp:81
- Run the Nimbus project normally