Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NODE_PATH='src/'
GENERATE_SOURCEMAP=false
VITE_PUBLIC_URL=/
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ package-lock.json
.env.test.local
.env.production.local
.env
CLAUDE.md
AGENTS.md

npm-debug.log*
yarn-debug.log*
Expand Down
2,567 changes: 0 additions & 2,567 deletions README-create-react-app.md

This file was deleted.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Then create a production build of the project:
```
npm run build
```
<sup>^ This command is not always needed while testing, you'll need it most prior to deploying your code</sup>
<sup>^ This command is not always needed while testing, you'll need it most prior to deploying your code because it's basically just an optimisation command you don't need to use much</sup>

And lastly, to run your project in development:
```
Expand All @@ -91,12 +91,11 @@ npm start

If it worked, you should see something like this in the terminal.
```
Compiled successfully!
VITE v8.1.5 ready in 450 ms

You can now view Candlestick in the browser.

Local: http://localhost:3000/
On Your Network: http://###.###.#.###:3000/
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
➜ press h + enter to show help
```
If you go to your browser and open up [http://localhost:3000/](http://localhost:3000/) you should find the project there. You can also test on your mobile devices by going to the network `http://###.###.#.###:3000/` link on another device *connected to the same network* (it should work, but if it doesn't, it could be due to certain network restrictions).

Expand Down
29 changes: 10 additions & 19 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,29 @@

<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png">
<link rel="shortcut icon" href="/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<script async defer data-domain="wickeditor.com" src="https://plausible.io/js/plausible.hash.js"></script>
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="manifest" href="/manifest.json">

<!-- Wick Editor Dependencies: -->
<!-- Wick Engine -->
<script src="%PUBLIC_URL%/corelibs/wick-engine/wickengine.js"></script>
<script type="module" src="/src/index.jsx"></script>
<script src="/corelibs/wick-engine/wickengine.js"></script>
<!-- GIF Import/Export -->
<script src="%PUBLIC_URL%/corelibs/gif/gif.js"></script>
<script src="/corelibs/gif/gif.js"></script>
<!-- preload.js -->
<script src="%PUBLIC_URL%/corelibs/preload/preloadjs.min.js"></script>
<script src="/corelibs/preload/preloadjs.min.js"></script>
<!-- Preloader animation CSS -->
<link href="%PUBLIC_URL%/preloader-animation.css" rel="stylesheet" type="text/css">
<link href="/preloader-animation.css" rel="stylesheet" type="text/css">
<!-- Wait overlay CSS -->
<link href="%PUBLIC_URL%/wait-overlay.css" rel="stylesheet" type="text/css">
<link href="/wait-overlay.css" rel="stylesheet" type="text/css">


<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Candlestick</title>
<style>
html,
Expand All @@ -48,14 +39,14 @@
font-family: 'Nunito Sans';
font-style: normal;
font-weight: 400;
src: url('%PUBLIC_URL%/fonts/Nunito Sans/Nunito Sans_regular.ttf') format('truetype');
src: url('/fonts/Nunito Sans/Nunito Sans_regular.ttf') format('truetype');
}

@font-face {
font-family: 'PT Mono';
font-style: normal;
font-weight: 400;
src: url('%PUBLIC_URL%/fonts/PT Mono/PTM55FT.ttf') format('truetype');
src: url('/fonts/PT Mono/PTM55FT.ttf') format('truetype');
}
</style>
</head>
Expand Down
6 changes: 0 additions & 6 deletions jsconfig.json

This file was deleted.

Loading