luin / medis

💻 Medis is a beautiful, easy-to-use Mac database management application for Redis.
http://getmedis.com
MIT License
11.61k stars 787 forks source link

Linux waiting for U. #6

Open mingjunyang opened 8 years ago

mingjunyang commented 8 years ago

Linux waiting for U.

slavaGanzin commented 8 years ago

Don't you ever try rdm?

mingjunyang commented 8 years ago

@slavaGanzin Qt too heavy, and RedisDesktopManager not support OpenSUSE. I need try to fix the configure file.

luin commented 8 years ago

It's not hard to support Linux and Windows since Medis is built on top of the Electron. I'll find some time to write a build script so that we can release a cross-platform version next time.

mingjunyang commented 8 years ago

@luin good news! thx!

mathieumg commented 8 years ago

This would be very welcome! :+1: Thanks for the great work.

lakano commented 8 years ago

Hello ! Waiting too the GNU/Linux version :) And as @mingjunyang on OpenSuse, I also hope a RPM package ( Fedora ). RedisDesktopManager doesn't provide it, and Medis could may be have this advantage too on RDM :)

luin commented 8 years ago

Sorry for the delay. A little busy these days :bicyclist: :crying_cat_face:. I built a Windows version successfully several days ago. The hardest part is to write a build script so that we can build OS X/Linux/Windows versions automatically every time we publish a new release. I found module https://github.com/maxogden/electron-packager should make things easier, but I don't have time at this moment. I'll revisit this issue in one or two weeks. Pull request is welcome BTW :laughing:.

mathieumg commented 8 years ago

Thanks for the update! It's funny, because I discovered that module yesterday too, which reminded me of this project. :grin: No hurry, we're all busy with various projects, I know the feeling. :weary:

luin commented 8 years ago

Just an update for this issue. I opened a pull request of using electron-packager for packaging (#21). For now, electron-packager doesn't support building Mac App Store version, so I'll wait for the releasing of 6.0 (https://github.com/electron-userland/electron-packager/blob/master/NEWS.md) before merge this pull request.

plantain-00 commented 8 years ago

electron-packager 7.0 is just released. https://github.com/electron-userland/electron-packager/releases

luin commented 8 years ago

That's fast. I'm working on it.

khaledAX commented 8 years ago

any update, guys? waiting for Ubuntu ... :confused:

uglide commented 8 years ago

Just FYI, RDM now supports OpenSUSE

ProjectInfinity commented 8 years ago

Any update? Just found this and while I love using it on my Mac, at home where I am using Windows I miss the application dearly.

zedtux commented 7 years ago

@luin any update on this?

m7shapan commented 7 years ago

@luin any new update?

zedtux commented 7 years ago

@luin if you need help, just ask

luin commented 7 years ago

Sorry for the delay! A little busy these months. It would be great if anyone likes to contribute the package scripts for Linux and Windows. Let me know if any help is needed.

BTW, My workmate and I use Medis as part of our everyday workflow, so I'll definitely continue to bring bugfixes and new features when I have time (hopefully next month). Thank you for using Medis!

zedtux commented 7 years ago

I'm not promising anything but I will give it a try on Linux.

markasoftware commented 7 years ago

@luin can you confirm that all which would need to be changed is the build scripts? No js changes necessary?

luin commented 7 years ago

@markasoftware I tried running Medis on Windows two months ago and I was able to get it run without any modification on js code.

andreldm commented 7 years ago

For anyone wishing to use the app right now, it's as easy as:

  1. git clone https://github.com/luin/medis or download the repository zip
  2. npm install
  3. npm run run
  4. Profit 😎
antonkomarev commented 7 years ago

@andreldm Yup. It's just working without any issues on Ubuntu 16.04

mathieumg commented 7 years ago

Which tag/branch?

Edit: mas branch.

antonkomarev commented 7 years ago

@mathieumg I've used master branch.

andreldm commented 7 years ago

Here is a WIP PKGBUILD for Arch Linux users: https://gist.github.com/andreldm/9f4fcda1674245d2f8abcde777f8db1c

Just download all files and run makepkg -si. Note: Any feel free to take this PKGBUILD and push to AUR as I don't use Medis, I friend of mine was playing with Redis and I came across this project, made it work on my machine and showed it to him. End of story.

darky commented 7 years ago

For anyone wishing to use the app right now, it's as easy as:

  1. git clone https://github.com/luin/medis or download the repository zip
  2. npm install
  3. npm run run
  4. Profit :sunglasses:

Now for me instead npm run run -> npm run electron

zedtux commented 7 years ago

Thank you @darky, you pinged me at the right moment! 👍

Unfortunately, it's not working for me (tried with the master branch):

screen shot 2017-06-09 at 15 44 29

I have this blank window and nothing happens...

EDIT: Same on the mas branch)

darky commented 7 years ago

Actual steps

  1. git clone https://github.com/luin/medis or download the repository zip
  2. npm install
  3. npm run build
  4. npm run electron
  5. Profit :sunglasses:
zedtux commented 7 years ago

FYI I'm running Debian Jessie.

I have installed Node 4.x and doing the npm install command fails with:

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.8.4
npm ERR! npm  v2.15.11
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package eslint@4.4.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer eslint-config-xo@0.18.2 wants eslint@>=3.17.0
npm ERR! peerinvalid Peer eslint-config-xo-react@0.11.1 wants eslint@>=3
npm ERR! peerinvalid Peer eslint-plugin-react@6.10.3 wants eslint@^2.0.0 || ^3.0.0

Upgrading Node to 6.x make it working like @darky described.

darky commented 7 years ago

Arch users can install it from AUR https://aur.archlinux.org/packages/medis/

katamaran1993 commented 6 years ago

Hi all, FastoRedis works perfectly on all Linux systems. json

icflorescu commented 6 years ago

I've tested it on Linux Mint 18.3 with Node.js 8.9.3 and it works perfectly:

medis-on-linuxmint-app

Moreover, here's a suggestion for users - you can also create a cinnamon main menu entry if you don't want to start it by typing npm run electron in the project folder:

medis-on-linuxmint-menu-entry

You can use the icon in ./icns/Icon1024.png.

I've placed my git clone in /opt, just make sure to use the appropriate paths on your system.

Bottom line is, yes, creating linux packages would be great, but not easy to maintain on the long term, since there are so many distros out there.

The vast majority of the linux users are tech-savvy enough and will most certainly know how to start it from the command line and/or even create an appropriate launcher for the specific platform flavor they're using.

hiimdoublej commented 6 years ago

I submitted a PR in regards to this issue, linux user can package the app and move it anywhere you want. Also fixed icons under linux. https://github.com/luin/medis/pull/123

mingjunyang commented 6 years ago

good job!

rathboma commented 6 years ago

Could this be published as a snap / flatpak package? That could alleviate some of the packaging issues across distros

rathboma commented 6 years ago

I ran this on Ubuntu 18.04 using the PR by @hiimdoublej and I see weird font rendering issues. Is this simply some sort of missing font? I don't see any errors or warnings on the terminal.

selection_004

hiimdoublej commented 6 years ago

@rathboma I have yet to encounter this bug that you're facing, with that being said I'll be happy to merge your PR on this issue in my fork, since the author of this project does not seem to accept PRs anymore. As for snap / flatpak, I'll look into it if I got some time to spare.

georgengel commented 3 years ago

For anyone wishing to use the app right now, it's as easy as:

  1. git clone https://github.com/luin/medis or download the repository zip
  2. npm install
  3. npm run run
  4. Profit sunglasses

Now for me instead npm run run -> npm run electron

Now for me npm run start