Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How to set up a new (development) instance of Codidact/QPixel

Parent

How to set up a new (development) instance of Codidact/QPixel Question

+12
−0

The QPixel repository on GitHub contains the source code for the Codidact software.

How can I set up a new development instance of it, so that I can work on it on my local machine?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Overlap with Git README content (1 comment)
Post
+2
−0

Installing QPixel on Fedora Linux using RVM without brew

If you happen to be installing in this situation, a few things might have different names. Here are some of the differences I had to allow for.

Disclaimer: I have no insight or familiarity with QPixel or any of the packages described below. These are just the variations that got me to a QPixel installation that was working well enough to display the Codidact homepage.

This may or may not be similar for Red Hat and CentOS installations.

ImageMagick

An error occurred while installing rmagick (4.2.6), and Bundler cannot continue.

Instead of the recommended libmagickwand-dev, which is not available on Fedora, you can use ImageMagick-devel:

dnf install ImageMagick-devel

I couldn't find an official guide to this but I stumbled upon the alternative name for the package in a guide to Python bindings for ImageMagick. That guide refers to yum instead of dnf as it's aimed at Red Hat, but it installed for me on Fedora using dnf.

MySQL

An error occurred while installing mysql2 (0.5.4), and Bundler cannot continue.

Instead of the recommended mysql-server, which is not available on Fedora, you can use the community maintained community-mysql-server:

dnf install community-mysql-server
systemctl enable mysqld
systemctl start mysqld

I found I also needed to install mysql-devel:

dnf install mysql-devel

The guide to installing MySQL on Fedora also includes instructions for installing Oracle's package instead of the community maintained one if you prefer.

libvips

libvips is not available under that name on Fedora, instead it is called vips:

dnf install vips

Redis

I discovered on the Redis Fedora page that redis-server is not available under that name on Fedora, instead it is called redis:

dnf install redis
systemctl enable redis
systemctl start redis

storage.yml

I also needed to manually copy config/storage.sample.yml to config/storage.yml. I didn't need to change anything, just mentioning that I needed to make the copy, as I couldn't find anything about this in the QPixel installation instructions.

Integrating RVM with Gnome terminal

If you are using Gnome (the default desktop environment for Fedora), then the terminal is by default set up in a way that will give you the following error:

RVM is not a function

This is likely to be part of a larger error message depending on what you were trying to do. In particular, this prevents selecting a Ruby version using rvm use 3.3.0.

You can find guidance and explanation on RVM's dedicated gnome terminal page (the solution is simply ticking a checkbox in the terminal preferences).


Security

This is not a security guide. Please use your own judgement on whether each command does or does not need to be entered with something like sudo or su. I am not qualified to tell you what is safe for your particular system.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Works for me (1 comment)
Works for me
zetyty‭ wrote 9 months ago

Works for me with Fedora 38!