-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Zach Radloff edited this page Jun 15, 2024
·
3 revisions
- Install & swap to the correct version of node:
npm run installNode
npm run swapNode
This assumes you have nvm
installed. Other wise you'll need to install node 20.11.0
manually.
- Install typescript globally
npm run installTypescript
This will install typescript 4.5.5
globally.
- Install the projects dependencies
npm install
- Duplicate the
.env.example
and rename the new file.env
- Duplicate the
src\applications\GetStarted
folder and re-name the folder to the name of your app. In this example we are naming the folderYourNewApp
. - In your new apps folder open the
Index.tsx
and rename the react component to that of your app. - Register your app in
src\App.tsx
{APP === "YourNewApp" && (
<ScreenContainer className="ScreenContainer fill-screen">
<YourNewApp />
</ScreenContainer>
)}
- In the .env file set `` to your apps name.
# Set which app should included from the aplications folder.
# These apps are registered with in src/App.tsx.
APP=YourNewApp
- Start the project in development mode with
npm start