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

General Q&A about setting up the Codidact (QPixel) platform or contributing to the open-source project. For questions about the network hosted at codidact.com, see Codidact Meta.

Filters (None)
87%
+12 −0
How to set up a new (development) instance of Codidact/QPixel

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?

4 answers  ·  posted 5y ago by luap42‭  ·  last activity 11mo ago by trichoplax‭

Question guide installation development
84%
+9 −0
Welcome to Codidact Collab!

Welcome to Codidact Collab! This is a special community outside the general Codidact network. Unlike the other topical communities, this one is for questions about the Codidact engine (QPixel) its...

0 answers  ·  posted 5y ago by luap42‭  ·  edited 5y ago by ArtOfCode‭

Question announcements discussion
80%
+6 −0
What exactly is QPixel?

I always thought that the terms "Codidact" and "QPixel" refer to the same beast until I came across this post in the chat stating: [..] Should we use qpixel (quicker launch, less dev work to do)...

1 answer  ·  posted 2y ago by zetyty‭  ·  last activity 2y ago by Moshi‭

Question discussion
77%
+5 −0
Why shouldn't one run a production server in Docker?

QPixel's Docker documentation says that the Docker setup is intended for development environments, not production. The documentation calls out one specific issue: email doesn't work. Are there ot...

1 answer  ·  posted 2y ago by Monica Cellio‭  ·  last activity 2y ago by Taeir‭

Question installation
77%
+5 −0
May I contribute to moving the text in the code to config/locales?

I want to change all the text in the qpixel to my local language(s). But unfortunately, most of the text is in the code(maybe it called hard code). It's hard to find the text to change it. But I se...

1 answer  ·  posted 5y ago by Yaskur‭  ·  last activity 5y ago by luap42‭

Question code-contributions
75%
+4 −0
How to get QPixel bundle install working without sudo privileges on Debian?

When I tried to install QPixel with bundle install I got the following message (on Debian 11): ~/qpixel$ bundle install Bundler 2.3.15 is running, but your lockfile was generated with 2.4.13. Ins...

2 answers  ·  posted 2y ago by zetyty‭  ·  last activity 2y ago by zetyty‭

Question support
75%
+4 −0
Database migration between Codidact and SO for Teams

If I have my "own instance of the Codidact software (QPixel) locally, on a server" (cited from here), can I easily migrate the overall database (user accounts, Q&A, etc.) to a Stack Overflow fo...

1 answer  ·  posted 2y ago by zetyty‭  ·  edited 1y ago by Andreas has suspended his contributions‭

Question database stack-overflow-teams
75%
+4 −0
What's a low-effort option for a Codidact development machine?

I would like to be able to work with qpixel in a development environment so I could (try to) fix small bugs and build and test locally. I don't have a developer setup now and my OS is apparently t...

3 answers  ·  posted 4y ago by Monica Cellio‭  ·  last activity 4y ago by ArtOfCode‭

Question support new-contributors
71%
+3 −0
Mysql return error Unknown collation: 'utf8mb4_0900_ai_ci' when run rails db:schema:load

I tried to install on my free GCP VM compute but when run rails db:schema:load return error: -- create_table("abilities", {:options=>"ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_09...

1 answer  ·  posted 5y ago by Yaskur‭  ·  last activity 5y ago by manassehkatz‭

Question support
71%
+3 −0
Can not create a new post on fresh installation

I'm running qpixel on my local and followed instruction on README. After signed up and try to create a new post it's return error : ActiveRecord::NotNullViolation: Mysql2::Error: Field 'tag_set_...

1 answer  ·  posted 5y ago by Yaskur‭  ·  last activity 5y ago by ArtOfCode‭

Question support
71%
+3 −0
How to test CoDesign?

If I make any changes to CoDesign. Then, I have to test what changes I made. Is there possible way to build local server (http://localhost/)? To test while making changes.. I have run npm install, ...

3 answers  ·  posted 4y ago by deleted user  ·  last activity 4y ago by deleted user

Question tests co-design
71%
+3 −0
How to solve Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

I'm trying to install the Q&A platform using : CREATE USER root@bimberspot IDENTIFIED BY '.....'; GRANT ALL ON qpixel_dev.* TO root@bimberspot; GRANT ALL ON qpixel_test.* TO root@bimberspot;...

2 answers  ·  posted 4y ago by Gate_sprit‭  ·  edited 3y ago by Trilarion‭

Question bug
71%
+3 −0
How to set up a Production environment

How to set up a Production environment We got QPixel to work on localhost but we are struggling to get it working "online". Could someone point us in the right direction? What steps are necessary ...

2 answers  ·  posted 3y ago by hdmm‭  ·  last activity 3y ago by Taeir‭

Question production
71%
+3 −0
Desired state of code documentation

Was having a look at the QPixel code base and comments in code seem to be relatively scarce. It might be that documentation about the code is stored somewhere else with Ruby or that the general lev...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by ArtOfCode‭

Question development comments
71%
+3 −0
How does a newcomer to Ruby get oriented in the qpixel code?

I am new to Ruby (and Rails) and have just (finally) succeeded in setting up qpixel on my Mac. I headed over to our easy GitHub issues looking for something to use to get started, and then realize...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by ArtOfCode‭

Question new-contributors documentation
71%
+3 −0
Warning about ruby version when moving to qpixel installation directory with RVM

After ruby (version 3.1.2) install with RVM, when I move to the qpixel install directory (with cd qpixel command), the following warning is displayed in the terminal: Unknown ruby interpreter ve...

1 answer  ·  posted 2y ago by zetyty‭  ·  edited 2y ago by zetyty‭

Question support ruby
71%
+3 −0
migrate/import data from Stackoverflow for Teams to QPixel?

How do I migrate/import data from Stack Overflow for Teams to a custom instance of QPixel? I have a few JSON files that I need to migrate/import to QPixel, e.g. users, posts, comments etc..

0 answers  ·  posted 1y ago by Sandman‭  ·  edited 1y ago by Andreas has suspended his contributions‭

Question support migration import stack-overflow-teams
71%
+3 −0
Need Help Setting Up Email Verification in Codidact

I’m a learner exploring Q&A tools, and after researching, I came across Codidact. I’m impressed with its features and have successfully set it up on my local machine. However, I encountered an ...

1 answer  ·  posted 1y ago by anurag3221@‭  ·  last activity 1y ago by trichoplax‭

Question support installation setup
71%
+3 −0
What does this failure involving mysql on Mac mean?

I had to reinstall mysql on my Mac, and after some thrashing I was able to again connect to my Qpixel database from the command line. The data is as expected, so it appears that mysql itself is ok...

1 answer  ·  posted 1y ago by Monica Cellio‭  ·  last activity 1y ago by trichoplax‭

Question development database
71%
+3 −0
Valkey instead of Redis

Does anyone have experience and tips migrating to Valkey? The reason I ask is becuase Redis changed their license in the beginning of 2024 and is now closed source.

0 answers  ·  posted 1y ago by hdmm‭

Question discussion installation setup redis
66%
+2 −0
Search function not working in a new instance

I have successfully set up QPixel on my local machine, but any attempt to use the "Search" function fails with "Your search syntax is incorrect.". I found out that this is caused by an exception i...

0 answers  ·  posted 10d ago by Arnaud‭

Question database
66%
+2 −0
Using Docker in a dev environment: ongoing maintenance?

I followed the instructions to set up Docker on my developer machine and it works great. Sometimes, though, I run into problems after I've pulled updates or switched branches. I don't really unde...

0 answers  ·  posted 12mo ago by Monica Cellio‭  ·  edited 12mo ago by Monica Cellio‭

Question guide docker
66%
+2 −0
Setting up Single-Sign-On

I have successfully set up QPixel on my local machine. However, I encountered an issue with user authentication — when registering a new user, the SSO authentication doesn’t work as expected. I’ve ...

1 answer  ·  posted 1y ago by anurag3221@‭  ·  last activity 12mo ago by Monica Cellio‭

Question support sso
66%
+2 −0
Please teach me to fish: how do I navigate the edit/suggested-edit code to apply the same error check to both?

I was trying to fix what I thought was an easy bug: suggested edits can add restricted tags (the ones only moderators can apply), which creates a suggested edit that most reviewers can't approve. ...

0 answers  ·  posted 1y ago by Monica Cellio‭  ·  edited 1y ago by trichoplax‭

Question development
66%
+2 −0
What user-facing things aren't covered well by automated tests (and should be tested manually)?

We have automated tests (good). Automated tests usually don't cover everything, so when there's a new version we want to test (say, on the dev server), I'd like to be able to prioritize things tha...

1 answer  ·  posted 5y ago by Monica Cellio‭  ·  last activity 3y ago by Trilarion‭

Question tests
66%
+2 −0
How to remove the "This site is in development mode!" message with local QPixel?

How to remove the following red message (see also the picture below) displayed on the top of each pages when running a local instance of QPixel? This site is in development mode! In additio...

1 answer  ·  posted 2y ago by zetyty‭  ·  last activity 2y ago by zetyty‭

Question support
66%
+2 −0
How does help get propagated, both seeds and updates? (What do doc maintainers need to know?)

I know this is buried in Discord somewhere, but for better findability: There is a seeds script (where?) that takes new help topics and propagates them to communities on a network. Where do those...

1 answer  ·  posted 5y ago by Monica Cellio‭  ·  last activity 5y ago by luap42‭

Question help-system
66%
+2 −0
Rails cache returning empty string

I'm trying to understand the root cause of a bug, HTML meta tag for description is not question specific. On any individual question page, instead of showing an excerpt of the question and top ans...

0 answers  ·  posted 3y ago by trichoplax‭  ·  edited 3y ago by trichoplax‭

Question cache redis
66%
+2 −0
How does caching work in qpixel? Where are the entry points?

Caching is really important for scaling. I know we cache some data -- something about tags (tags for a post?) has been discussed on meta, and I know the "new posts" silver dot (badge) is cached so...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by trichoplax‭

Question development
66%
+2 −0
Error undefined method has_tags' or id' for nil:NilClass during rails db:seed

When running rails db:seed I get some errors without any further explanation. CloseReason: Created 0, skipped 5 User: Created 0, skipped 1 PostFlagType: Created 0, skipped 4 PostType: Created 0...

0 answers  ·  posted 4y ago by Trilarion‭  ·  edited 4y ago by Trilarion‭

Question support installation
66%
+2 −0
Why have I been blocked by cloudflare while posting and how can I circumvent it?

This is more a meta issue, but while posting an error report (with a screenshot and lengthy (but still not too long so the post could be send) error log) here, I was not able to successfully post t...

0 answers  ·  posted 4y ago by Trilarion‭  ·  edited 4y ago by Trilarion‭

Question bug
66%
+2 −0
How to solve ActionView::Template::Error: Database missing time zone support for Etc/UTC in ReportsControllerTest

I ran tests (bin/rails test) and got Error: ReportsControllerTest#test_every_route_should_work_for_moderators: ActionView::Template::Error: Database missing time zone support for Etc/UTC - see h...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by Trilarion‭

Question support tests bug
66%
+2 −0
How to circumvent Stripe::AuthenticationError: No API key provided

I want to setup a local QPixel instance (WSL - Ubuntu 20.04) and am following the guide by luap42. Finally I get an error Stripe::AuthenticationError: No API key provided. Set your API key using "...

3 answers  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by ArtOfCode‭

Question support installation
66%
+2 −0
How to solve Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379?

I tried to setup a local QPixel instance (WSL - Ubuntu 20.04) and followed the guide by luap42. I finally run rails -s and got /var/lib/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:105: warni...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by Trilarion‭

Question support installation
66%
+2 −0
Is there a QPixel development roadmap somewhere or can we have one?

One user gave feedback that he/she would be interested in seeing some kind of roadmap for the development (of Codidact). One aspect of that would surely be a development roadmap of QPixel. I know t...

2 answers  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by Monica Cellio‭

Question discussion development
60%
+1 −0
Categories aren't seeded

I followed the instructions here, but even after running rails db:seed, there aren't any categories. Console: moshi@Alpha:~/qpixel$ rails db:create Running via Spring preloader in process 11391 ...

1 answer  ·  posted 3y ago by Moshi‭  ·  last activity 3y ago by Moshi‭

Question support setup
60%
+1 −0
What is a "Category" in QPixel?

What is a "Category" in QPixel? Does this allow you to create something equivalent to a Site Proposal in Codidact Community Proposals or is it something else?

1 answer  ·  posted 2y ago by zetyty‭  ·  last activity 2y ago by Mithical‭

Question category
60%
+1 −0
mysql return error ActiveRecord::StatementInvalid: Mysql2::Error: Cannot drop table 'abilities' referenced by a foreign key constraint 'fk_rails_de15a6ad96' on table 'user_abilities'.: DROP TABLE IF EXISTS abilities

After cloning qpixel (yesterday), I can't post anything. I was trying to setup database properly. rails db:create database already exists rails db:schema:load -- create_table("abiliti...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by ArtOfCode‭

Question support
60%
+1 −0
Is the difference in Codidact's CDN guidance intentional?

Codidact has a guide to installing Co-Design. The section "Using a pre-built version" recommends using a CDN. I notice that the CDN recommended in the guide is different to the CDN used in the Cod...

0 answers  ·  posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

Question installation cdn
60%
+1 −0
How to solve Can't connect to MySQL server on 'bimberspot.com:3306' (111) [closed]

How to solve Can't connect to MySQL server on 'bimberspot.com:3306' (111)

0 answers  ·  posted 4y ago by Gate_sprit‭  ·  closed 4y ago by ArtOfCode‭

Question bug
60%
+1 −0
"Confirm my account" link shows as https in development

As instructed in the "Create administrator account" section of the QPixel Installation guide I created a second new user through the user interface (clicking "Sign Up") in my local development inst...

1 answer  ·  posted 3y ago by trichoplax‭  ·  last activity 1y ago by Monica Cellio‭

Question discussion
60%
+1 −0
422 unprocessable error

422 unprocessable error We followed the installation instructions and have a QPixel standalone instance with seems to be working. However we are not able to create the first account. The sign-up p...

0 answers  ·  posted 3y ago by hdmm‭  ·  edited 3y ago by hdmm‭

Question validation
60%
+1 −0
Do seed posts need to be HTML rather than Markdown?

In QPixel, under db/seeds/posts, there are a number of HTML files which are starting points for various help guides and documents such as Terms of Service and Code of Conduct. These can be edited ...

0 answers  ·  posted 3y ago by trichoplax‭

Question help-system html markdown
60%
+1 −0
Checking if the user is signed in from front end code

When writing front end code for QPixel, is there a preferred way to check whether the user is signed in? The back end code has access to this information, and constructs the page accordingly. Some...

1 answer  ·  posted 3y ago by trichoplax‭  ·  last activity 3y ago by ArtOfCode‭

Question support discussion frontend
60%
+1 −0
Meta: Is there an argument for having Collab under codidact.com?

Does having Codidact Collab under codidact.org rather than under codidact.com with the other communities cause an additional administrative burden, for example when releasing code changes? Would t...

0 answers  ·  posted 3y ago by trichoplax‭

Question discussion
60%
+1 −0
How should I fix this incorrect error message (don't quite understand the code)

I saw this report about a bug in an error message and figured that would be an easy fix. The incorrect error message is: "Tags can't have more than 5 tags". That should be "Posts can't have...". ...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by Taeir‭

Question support development new-contributors
60%
+1 −0
How to solve Magick::ImageMagickError: no decode delegate for this image format in AdvertisementControllerTest#test_image_paths_should_return_png

I ran tests (bin/rails test) and got Error: AdvertisementControllerTest#test_image_paths_should_return_png: Magick::ImageMagickError: no decode delegate for this image format `' @ error/constitu...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by ArtOfCode‭

Question support tests bug
60%
+1 −0
What can Co-Design learn from other CSS frameworks?

The Co-Design homepage shows the various elements of Co-Design very nicely and explains the usage. From my experience with other CSS frameworks like Bootstrap or Bulma, it's quite on par feature wi...

0 answers  ·  posted 4y ago by Trilarion‭  ·  edited 4y ago by Trilarion‭

Question co-design css
60%
+1 −0
What (where) are the current code standards and commit guidelines?

The contributing guidelines are probably copied from the previous "core" project. They even link to there while mentioning code standards and commit guidelines. I wanted to update those, but could...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by Trilarion‭

Question support guide documentation
60%
+1 −0
How can I remove a category from a community?

On page /categories it's easy to create or edit a category, but I cannot find a way to delete a category again. Is the functionality not existing? Following the setup guide my user is a global adm...

2 answers  ·  posted 4y ago by Trilarion‭  ·  last activity 3y ago by Taeir‭

Question support