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)
- Feature request: make collections search bar sticky
- Bug report: Crash when switching collections HOT 1
- Bug report: collection level headers take precedence
- What is the default password? HOT 1
- BUG report:Error when compiling jar package HOT 4
- Feature Request: Restrict access per environment
- save button not working HOT 3
- Align save collection call with overall project architecture HOT 1
- Bug: Wrong background color on input fields in light mode
- OCID not working with TLS1.3 HOT 8
- Bug: Formatting is removed from JSON response bodies HOT 1
- Bug: Collection name disappears HOT 1
- Bug: Server proxy corrupts JSON HOT 2
- Bug: Large request bodies disappear while scrolling
- Feature Request: Share environments between collections or have nested collections HOT 1
- Bug: Setting body application/json always sends text/plain HOT 1
- Option for disable SSL check HOT 8
- Feature Request: Structured data support (multipart/form-data) HOT 2
- Get an error when importing postman export JSON file HOT 1
- Any plans to make it work on arm64? 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.