Comments (4)
This is not a node application. just run yarn run app:build
. you can get the static files such as js and html
from anchor-web-app.
Thank you, after running I get these files in app
build scripts tsconfig.script.json vite.config.ts
index.html script.sh vercel-build-ignore.sh
package.json src vercel-ignore-storybook.sh
public tsconfig.json vercel.json
and these in app/build
assets favicon.ico fetchWorker.js logo.png manifest.json robots.txt
the index.html file really does not have anything except wallet connect
what is the correct root path for /etc/nginx/sites-available/default server {
listen 80 default_server;
root /var/www/anchor-web-app/app/build;
server_name [your.domain.com] [your other domain if you want to];
index index.html index.htm;
location / {
}
}
from anchor-web-app.
here is my nginx config but still doesn't work
server {
listen 80 default_server;
root /var/www/anchor-web-app/app/build;
server_name app.example.com;
index index.html index.htm;
location / {
}
server {
listen *:443 ssl;
root /var/www/anchor-web-app/app;
server_name app.example.com;
ssl_certificate /etc/ssl/localhost+1.pem;
ssl_certificate_key /etc/ssl/localhost+1-key.pem;
}
from anchor-web-app.
ok the files end up being in app/build
the reason I couldn't see it before was the build kept failing due to node memory issues so this solves it
export NODE_OPTIONS=--max_old_space_size=4096
So to correctly build
cd anchor-web-app && export NODE_OPTIONS=--max_old_space_size=4096 && yarn install && yarn run app:build
Then static files are in
anchor-web-app/app/build/
from anchor-web-app.
Related Issues (20)
- Earn Funds Didn't Arrive HOT 1
- Missing 26k Deposit HOT 1
- Staking error HOT 1
- Modify Collateral Attribute fails to get staked governance Anchor HOT 6
- Add Notification for Users to verify domain is app.anchorprotocol.com HOT 5
- avax borrow HOT 1
- Funds not arriving in Anchor Earn wallet HOT 7
- Deposited UST not showing on My Page HOT 3
- UST borrowing confirmed but not showing in Anchor HOT 1
- anchor gov page got the blank HOT 1
- feat: Earn page - display amount of UST earned
- Transaction failed HOT 1
- Failed Transaction when withdrawing from Anchor HOT 17
- https://app.anchorprotocol.com/
- failed to wtihdraw bETH collateral HOT 2
- failed to connect web app with chrome and station extension version 3.0.2
- Price is too old HOT 5
- Error trying to withdraw bETH - Price is too old HOT 2
- `Transfer error` when withdrawing UST from Anchor with xdefi
- error trying to withdraw bETH HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anchor-web-app.