Comments (4)
You cannot run Yaade exclusively using NPM. NPM can only build and serve the frontend part (static HTML, CSS, JavaScript). To run Yaade you need to:
a) run it as a docker container
b) build a jar using the build script mentioned in the README
c) run it in development mode
If you go for (b) the script will build the frontend, put the static files into the static folder of the server, build the server, and then output a single jar file that you can run normally.
If you go for step (c), then you need to start up all components manually:
- The server by running the jar (this is where you set YAADE_ADMIN_USERNAME=admin)
- Frontend by running npm run dev
- The dev-proxy to connect frontend and backend and to disable CORS
Now you should be able to go to http://localhost:9337
and login. Note that this should only be used for development.
from yaade.
You cannot run Yaade exclusively using NPM. NPM can only build and serve the frontend part (static HTML, CSS, JavaScript). To run Yaade you need to:
a) run it as a docker container b) build a jar using the build script mentioned in the README c) run it in development mode
If you go for (b) the script will build the frontend, put the static files into the static folder of the server, build the server, and then output a single jar file that you can run normally.
If you go for step (c), then you need to start up all components manually:
- The server by running the jar (this is where you set YAADE_ADMIN_USERNAME=admin)
- Frontend by running npm run dev
- The dev-proxy to connect frontend and backend and to disable CORS
Now you should be able to go to
http://localhost:9337
and login. Note that this should only be used for development.
from yaade.
I am not sure where I did wrong but I wanted to make some changes in the front end part. I changed the logo on client/src/pages/login/Login.tsx . I am able to see the changes which I made when I run npm run dev but not able to see the changes when I run using the executable jar file
from yaade.
Yes if you actually want to make changes you need to run the three components in dev mode as I explained above.
from yaade.
Related Issues (20)
- Yaade adding extra characters to requests HOT 3
- Feature request: Command-Click Env variable for direct edit
- Patch not send body? HOT 8
- Feature Request: Make web->extension timeout configurable HOT 3
- mTLS/Client Certificate Authentication HOT 8
- Feature Request: Support body content-type: `application/x-www-form-urlencoded` HOT 1
- sanitize clipboard when pasting into parameter input field
- API Endpoints Require Manual Encoding of Special Characters in URLs
- Adding provider failing with error - issuer cannot be null. HOT 3
- Facebook Graph API response not formatted. HOT 2
- Feature Request: Allow groups to be added and removed for external users. HOT 1
- Feature Request: Add support for keyboard shortcuts. HOT 1
- After Upgrade - Error: Could not retrieve collections HOT 7
- Feature Request: Generate code from requests HOT 1
- Import after Export not working HOT 2
- certificate form overflows modal
- Environment not available HOT 8
- Error importing collection HOT 2
- Error Importing Collection HOT 1
- got error NumberFormatException HOT 1
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 yaade.