openmrs modules cannot be uploaded - openmrs

I installed openmrs 2.5 on linux/windows but after login I cannot upload any module (even directly by copy omod file in modules directory) and also when I click on 'Add On Manager' module app redirect to an undefined page with 404 error.
I tried to install openmrs and add modules on it.

Related

How to add package.json file to built react app?

If use npm build command to build a react app for production environment, we can get a build named folder. There are html, css and JavaScript in it, but the package.json file doesn’t exists.
If we use this file to set http proxy endpoint to connect API, we can’t run the app well because the endpoint can’t be found.
How to deal with this json file rightly in this case?
First if you have package.json of some Node-React application you can run in example windows CMD (terminal console) and make some folder there you put this package.json and navigate to this folder and then, there typing npm install. On this away you can prepare all what is need for this Node-React app. Exactly with this command starting make node_modules folder there stat install need package. Next step is make folders: src and public, there you put next file :
on Src folder App.js, index.js, App.css
on public folder index.html.
That is because in this package.json exists all what is need for starting application, but if you menually build package.json this can make with run npm.
init in CMD.
Use Proxy in package.json file you can use for example if you send some data in case client-server app. There you have in client for HTTP request axios, on server side express. In package.json file add row "proxy":"http://localhost:3001"
from server. For that plz. look How to set port for express server dynamically?

How to run ionic app built online on my system

I am new to ionic application development, while searching through the net I saw a link which directed me to the ionic creator. Reading through it I was able to create an app.
After creating it, I downloaded the source files but now I am trying to run it on my computer. On the cmd screen, I typed ionic servebut I receive this error message [ERROR] Sorry! ionic serve can only be run in an Ionic project directory. Could someone please take me through the process of running the app on my system.
You need to run that command from project directory.
For example, if your application is in C:\Users\UserName\Desktop\MyApp you need to go to MyApp directory and there you can run ionic serve command.
Ionic v1
Install the latest version of the local Ionic CLI installed by typing the command:
npm install -g ionic#latest
To start a new Ionic project, type the command:
ionic start myapp --type ionic1
Now go into the newly created myapp directory, and you will see directory called www inside.
Delete everything inside of the www folder, and move the unzipped files and folders from STEP 1 into the www folder. The directory structure should look like:
Next, move the directory called SCSS-MOVEME up one directory, and rename it to scss. This directory should now sit side-by-side with the www directory.
Now, run the command npm install from directly inside the myapp folder. This will install gulp.js and a few handy tasks, such as gulp-sass and gulp-minify-css.
Finally, in the ionic.config.json file, add the JavaScript property "gulpStartupTasks": ["sass", "watch"].
Ionic v3.x
This step requires you to have the latest version of the local Ionic CLI installed.
To start a new Ionic project, type the command:
ionic start myapp
Now go into the newly created myapp directory, and you will see directory called src inside.
Copy and paste the contents from your zip export into the src directory. You will want to overwrite the app directory, pages directory, and index.html
Source: ZIP Export an Ionic Project

I have installed Magento ver. 1.9.2.4 on live server but unable to integrate payumoney in system/configuration/payment method

I have installed Magento version 1.9.2.4 and as per the PayUMoney documentation, I have pasted the "payu" folder into respective folder but still not able to see "payucheckout" tab in system/cofiguration/sales/payment method.
Why is this happening?
"Merge the files and folders in the PayUMoney module with the Magento module. In other words,
copy the end files/folders in the integration kit sent to you manually according to the files and folder
structure. For e.g.; the payu folder (path - app/code/community/payu) in the integration kit is
pasted in the following directory in the Magento folder – ww/magento/app/code/community/."
Merge Payu kit in magento root folder, clear cache and login again,
Enable module from here :
configuration -> payment method -> Payu checkout
Payu option will visible on checkout.
For test you can use details in admin:
Merchant Id: gtKFFx
Salt : eCwWELxi

mdmsoft/yii2-admin module not working in basic templet

I am new with yii n am trying to include an admin module "mdmsoft/yii2-admin" in my app i have followed the readme instructions from https://github.com/mdmsoft/yii2-admin/tree/master/#rbac-manager-for-yii-2,there is no error in installation but when i try to open the admin page by mydomain/web.php/admin" its showing "Not Found". I have also checked the root permission of all the files and folders in the application and it is fine.
mydomain/web.php/admin should be mydomain/web/admin.

How to Deploy html project using gradle in libgdx

I have successfully run my html project using following command
gradlew html:superDev
And after that I run "gradlew html:dist" command .
This compiled my app to Javascript and place the resulting Javascript, HTML and asset files in the html/build/dist/ folder.
Now my question is how to use this "dist" folder to run my project on server.
I tried to upload this "dist" folder on my server and then runs it's index.html file but only superDev Refresh button appears.
Please tell me what are the steps to follow after creating the dist folder ?
Which files and folder should I upload on server ?
Hi I solved it by taking following steps:-
In eclipse I right click on html project and compile it using GWT compile.
2 then run the html project as web application.
3 After successfully launching of the game I copy all the folders excepts WebInf from the war folder and place them in a new folder then upload it on server.
That's it.
But through Gradle I did not get any success.