Comments (4)
Of course DAXE_HOME is set at the value : /home/produits/DaxeDesktop/
from daxapp.
Bonjour !
DAXE_HOME should be set to the Daxe web application (daxe.html) home, not the Daxe desktop application (daxe.sh) home. So, if you put the Daxe web application (from adopt/daxe, with daxe.html) into /home/produits/DaxeWebApp, DAXE_HOME should be set to /home/produits/DaxeWebApp.
The Daxe desktop application starts a little web server to communicate with the Daxe web application as a CMS would.
However, you might have a different problem here. Please check the tree inside DaxeDesktop:
DaxeDesktop/bin/main.dart
DaxeDesktop/lib/daxe_server.dart
DaxeDesktop/lib/form_field.dart
Also, it seems to be missing a package. You might have to use "pub get" (using the pub command from Dart SDK) to get needed packages, using the pubspec.yaml file in the same directory as daxe.sh. I should probably add a build.sh to do that.
from daxapp.
Hi Damien
I have retried to install everything from scratch following your new installation process !
Installation of botg daxe and daxeapp were successfull and I did a pub get in both apps.
I initialize DART_HOME at the directory where is dart.html ( /tmp/daxe-master/web ).
Then I launch daxe.sh like this using a working Jaxe configuration file :
./daxapp-master/daxe.sh test.east /home/produits/NewJaxe3.5/config/EAST_config.xml
The server seems to launch well :
Daxe directory path: /tmp/daxe-master/web
Server started.
and a page is loaded into Firefox .
Unfortunately it is empty as you can see :
What is wrong ?
- Configuration file not compatible ?
- File "test.east" non existent ?
- Daxe config error ?
Thanks by advance for your help
from daxapp.
The command you have to use is:
./daxapp-master/daxe.sh test.east EAST
Make sure EAST_config.xml is in Daxe's config folder.
If you have not done it yet, you also have to build Daxe, by using ./build.sh
in its directory. You then use the files created in ./build/web
when setting DAXE_HOME
(note that this is DAXE_HOME
, not DART_HOME
).
Your screenshot seems to indicate you are missing the Javascript file daxe.dart.js
created with build.sh
(or the path is wrong). You would probably see an error message if you looked at the console in your web browser.
from daxapp.
Related Issues (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 daxapp.