tattle-made / Uli

Software and Resources for Mitigating Online Gender Based Violence in India
https://uli.tattle.co.in
GNU General Public License v3.0
40 stars 30 forks source link

Make local setup for Uli seamless #296

Closed dennyabrain closed 10 months ago

dennyabrain commented 1 year ago

Is your feature request related to a problem? Please describe. Whenever new joinees try to setup Uli, some pesky issues come up related to their platform or inconsistency in the documentation.

dennyabrain commented 1 year ago

Lets consolidate the 3 READMEs within browser-extension into one README. We can add sections pertaining to specific userflows within that README. So for instance, someone who is only working on the api-server might want to comment out the ogbv-ml-rest service from docker-compose. These instructions can go in those sections.

duggalsu commented 1 year ago

As per mysql docker notes, the uli_dev db should be created automatically on initializing the db container since the envvar specifying the db name is present. However, this is not happening.

Without this, the migration fails as it cannot find the db. Hence, docker compose up has to be run, the db has to be created manually and docker compose up has to be run again. The alternative is to specify an init db file

dennyabrain commented 1 year ago

I had some difficulty with getting the entrypoint.sh script running and also npm not installing anything, so when the server begins, it crashes since express (or rather) anything is not installed. My current status is that my current instructions to make things work are here https://github.com/tattle-made/Uli/wiki/Setup-Uli-on-Linux-for-Chrome https://github.com/tattle-made/Uli/wiki/Setup-Uli-on-Linux-for-Firefox

Lets run it on your linux machine @duggalsu and see if atleast on linux its seamless. Then we'll also try to make it work on windows. Aatman can give his instructions and i can try running it on my windows machine

aatmanvaidya commented 10 months ago

This issue will be continued forward here - https://github.com/tattle-made/Uli/issues/397