/prog/ :: Bald Programming the only place on the internet it's acceptable to post screenshots of code
Create a new thread Login | Register    
Captcha code
Board rules
  1. Absolutely no posting of bald people on this board except in the designated thread.

It is imperative that you read the site rules before posting.

0x000000Designated Balding
reply
bald.png
subdirectory_arrow_right Open thread chat_bubble_outline Posts: 3 arrow_upward Limit: 512
0x000002
reply

brootal

0x000003
reply
image.webp

it's just science

0x000001extremely based settings configuration
reply
image.webp

btw

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 1 arrow_upward Limit: 512
0x000001
reply
image.webp
subdirectory_arrow_right Open thread chat_bubble_outline Posts: 1 arrow_upward Limit: 512
0x000001me right now
reply
image.webp

my whole daem time is being consumed in fixing this shit ;-;

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 2 arrow_upward Limit: 512
0x000002
reply
image.webp

yeah i don't know why i do it either. nothing better to do i guess.

0x000001definitely not me right now
reply
image.png

...

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 1 arrow_upward Limit: 512
0x000001this board is open source btw
reply
image.png

And there is an issue tracker. https://github.com/divSelector/divchan/issues

I haven't really written a CONTRIBUTING file yet but if you're interested in adding something post an issue.

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 1 arrow_upward Limit: 512
0x000001build guide visual aid for windows
reply
Screenshot 2024-03-12 041851.png

I wrote a build guide for people who want to contribute to the working on the source code of this site. https://github.com/divSelector/divchan?tab=readme-ov-file#build-guide

Here are some visual aids for Windows users.

Notice here I am right clicking in the folder and selecting, "Open in Terminal"

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 8 arrow_upward Limit: 512
0x000003
reply
Screenshot 2024-03-12 045432.png Screenshot 2024-03-12 050637.png Screenshot 2024-03-12 051342.png

It's going to download Docker images and do a lot of crazy stuff and it's eventually going to tell you "Be Patient, This Takes Awhile" as it is generating fake content for the site.

Just wait.

When it finally says "celery@2397whatever ready", that it is when it is ready to open in the browser.

0x000005
reply
Screenshot 2024-03-12 052451.png

One thing I noticed is that Docker Desktop for Windows does not seem to broadcast on 0.0.0.0 but you can still access the link at http://localhost:8000

0x000006
reply
Screenshot 2024-03-12 052817.png

When you're done working on the development site you can do CTRL + C in the terminal window to close down divchan or you can click the Stop button in Docker Desktop

0x000007
reply
Screenshot 2024-03-12 053034.png

If we want to put the development server back up, we don't want to generate fake content a second time since it is rather time consuming. set FAKE_CONTENT=False in the .env file.

Then the next time you do docker compose up --build, it will not take as long.

0x000008
reply

Keep in mind when you modify the code, the changes will not update on the localhost site until you bring the docker containers down and rebuild. This means you can't just hit Play in Docker Desktop.

If you have questions, lmk.

0x000001we'll do it live
reply
testing_in_prod.png

fuck it!

subdirectory_arrow_right Open thread chat_bubble_outline Posts: 2 arrow_upward Limit: 512
0x000002
reply

https://www.youtube.com/watch?v=vu2NK5REvWMFUCK IT