!MNkZeDktHEshWITStt:matrix.org

OpenLMIS-Help

96 Members
22 Servers

Load older messages


SenderMessageTime
22 Jul 2021
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Hi! After running the command grunt build --serve --openlmisServerURL=http://34.132.223.210/ it get following error: Even when use --force, will not work Why?
Last line from npm install
13:42:53
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Last line from npm install
Note: I'm using openlmis-reference-ui repo and openlmis-ref-distro
13:44:07
@_slack_openlmis_U04BG5XL8:matrix.orgchunky56
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Note: I'm using openlmis-reference-ui repo and openlmis-ref-distro
Valter SITOE i’m not sure what the issue is. i would delete the node_modules folder and try to run the commands again
16:57:08
@_slack_openlmis_U04BG5XL8:matrix.orgchunky56
In reply to@_slack_openlmis_U04BG5XL8:matrix.org
Valter SITOE i’m not sure what the issue is. i would delete the node_modules folder and try to run the commands again
or try to run what it says is not installed, using something like npm install karma@>=0.9
17:01:38
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U04BG5XL8:matrix.org
or try to run what it says is not installed, using something like npm install karma@>=0.9
Not working.... The issue remains
20:42:50
@_slack_openlmis_U04BG5XL8:matrix.orgchunky56
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Not working.... The issue remains
Valter SITOE i’m afraid that’s the limit of my knowledge on the UI side, you may want to ask others in the community
21:31:30
23 Jul 2021
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U04BG5XL8:matrix.org
Valter SITOE i’m afraid that’s the limit of my knowledge on the UI side, you may want to ask others in the community
Thank You chunky56! I really appreciate your help. Can um mention others can help me?
06:24:07
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Thank You chunky56! I really appreciate your help. Can um mention others can help me?
Valter SITOE are you running /dev-ui by using docker run -it --rm -v $(pwd):/app openlmis/dev-ui or docker run -it --rm -p 9000:9000 -v $(pwd):/app openlmis/dev-ui ?
08:09:47
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply toundefined
Let me explain what I did: 1. Clone repo openlmis-reference-ui 2. cd openlmis-ui-components/ 3. touch .env 4. docker-compose run --service-ports reference-ui 5. npm install 6. grunt build --serve --openlmisServerURL=[my-server-ip] NOTE: openlmis-ref-distro instance is running on the same server
08:14:24
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply toundefined
(edited) ... repo openlmis-reference-ui => ... repo `openlmis-reference-ui` 2. `cd openlmis-ui-components/` 3. `touch .env` 4. `docker-compose run --service-ports reference-ui` 5. `npm install` 6. `grunt build --serve --openlmisServerURL=[my-server-ip]` NOTE: `openlmis-ref-distro` instance is running on the same server
08:17:55
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply toundefined
Yes, if you want test in openlmis-ref-distro you should: 1. Run reference-ui docker-compose run --service-ports reference-ui 2. remove node_modules rm -rf node_modules 3. run npm install 4. run grunt or grunt --force without -openlmisServerURL= 5. run grunt build or grunt build --force 6. run grunt or grunt --force run grunt or grunt --force run grunt or grunt --force run run grunt or grunt --force 7. then outside of the container run build command: docker-compose build image 8. In openlmis-ref-distro you should set variable as OL_REFERENCE_UI_VERSION=latest
08:28:05
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply toundefined
(edited) ... --force => ... --force 7. then outside of the container run build command
08:28:38
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply toundefined
(edited) ... build command => ... build command: `docker-compose build image` 8. In `openlmis-ref-distro` you should set variable as `OL_REFERENCE_UI_VERSION=latest`
08:30:53
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply to@_slack_openlmis_U027FR7RV9P:matrix.org
Yes, if you want test in openlmis-ref-distro you should: 1. Run reference-ui docker-compose run --service-ports reference-ui 2. remove node_modules rm -rf node_modules 3. run npm install 4. run grunt or grunt --force without -openlmisServerURL= 5. run grunt build or grunt build --force 6. run grunt or grunt --force run grunt or grunt --force run grunt or grunt --force run run grunt or grunt --force 7. then outside of the container run build command: docker-compose build image 8. In openlmis-ref-distro you should set variable as OL_REFERENCE_UI_VERSION=latest
then you will be able to test your reference-ui changes on local instance
08:32:26
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U027FR7RV9P:matrix.org
then you will be able to test your reference-ui changes on local instance
Thanks, I'll try it
08:33:21
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
Thanks, I'll try it
Let me know if it works for you 🙂
08:34:43
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply toundefined
How to test it? and start to make changes...
09:01:33
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply toundefined
(edited) ... test it? => ... test it? and start to make changes...
09:01:56
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
How to test it? and start to make changes...
just run openlmis-ref-distro (by using command sudo docker-compose up -d) with this change OL_REFERENCE_UI_VERSION=latest
09:03:26
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply toundefined
after each change in reference-ui you need to build it following this instruction https://openlmis.slack.com/archives/C2NU4A3D4/p1627028885042000?thread_ts=1626083820.033600&cid=C2NU4A3D4
09:05:10
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply toundefined
(edited) ... reference-ui u need ... => ... reference-ui you need ...
09:06:08
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U027FR7RV9P:matrix.org
after each change in reference-ui you need to build it following this instruction https://openlmis.slack.com/archives/C2NU4A3D4/p1627028885042000?thread_ts=1626083820.033600&cid=C2NU4A3D4
I'm not sure if it's working... I was trying to change the logo, like this: replace ~/openlmis-reference-ui/build/webapp/openlmis-header/logo.png with my logo file, then follow that steps u gave me. Is that correct?
10:06:41
@_slack_openlmis_U027FR7RV9P:matrix.orgKrzysztof Pasiek
In reply to@_slack_openlmis_U01SYEKMW3Y:matrix.org
I'm not sure if it's working... I was trying to change the logo, like this: replace ~/openlmis-reference-ui/build/webapp/openlmis-header/logo.png with my logo file, then follow that steps u gave me. Is that correct?
I think that is correct
10:59:47
@_slack_openlmis_U01SYEKMW3Y:matrix.orgValter SITOE
In reply to@_slack_openlmis_U027FR7RV9P:matrix.org
I think that is correct
What name was supposed do appear for UI service?
12:34:10
26 Jul 2021
@_slack_openlmis_U029JCUSGFK:matrix.orgDavid Crewe-Brown joined the room.11:43:54
@_slack_openlmis_U028R1R8J31:matrix.orgDean Tebbutt joined the room.11:43:56
@_slack_openlmis_U028R1R8J31:matrix.orgDean Tebbutt changed their display name from _slack_openlmis_U028R1R8J31 to Dean Tebbutt.12:19:37
@_slack_openlmis_U028R1R8J31:matrix.orgDean Tebbutt set a profile picture.12:19:38
27 Jul 2021
@_slack_openlmis_U029JCUSGFK:matrix.orgDavid Crewe-Brown changed their display name from _slack_openlmis_U029JCUSGFK to David Crewe-Brown.20:07:42
@_slack_openlmis_U029JCUSGFK:matrix.orgDavid Crewe-Brown set a profile picture.20:07:43

There are no newer messages yet.


Back to Room List