revoltchat / self-hosted

Deploy Revolt using Docker.
904 stars 116 forks source link

Local offline dev spinup not working #58

Closed onsettech closed 1 year ago

onsettech commented 1 year ago

What do you want to see?

Hello all, Trying to setup revolt chat for local development on Ubuntu, it installs correctly, both on the dev version of revolt chat and the self-hosted version, however as soon as I go offline, it says an error has occurred.

I changed the ip's in the .env file for 127.0.0.1 and also tried local host, still no success.

Is there a way to develop offline? On a local spin up?

Note: I installed and compiled everything online then switched to offline to test.

Rexogamer commented 1 year ago

What error are you getting?

onsettech commented 1 year ago

"An error occurred" popup window on window refresh

onsettech commented 1 year ago

In the browser console it says "State must be Ready in order to transition! (currently Offline)". Does this mean that there are required online deps?

onsettech commented 1 year ago

Image

onsettech commented 1 year ago

Image

insertish commented 1 year ago

This isn't intended for development, you may want to look at https://developers.revolt.chat/contributing. If you still want to run this in particular, please read https://github.com/revoltchat/self-hosted/issues/59.