mrdoob / glsl-sandbox

Shader editor and gallery.
https://glslsandbox.com/
MIT License
1.54k stars 260 forks source link

New Go server with moderation #62

Closed jfontan closed 2 years ago

jfontan commented 2 years ago

This new version should work the same as the ruby server with these additions:

It's deployed for testing at https://glsl.zooloo.org. More information in these two comments:

I still have to create a tool to add moderators but the server functionality should be mostly finished. I've tested it but there may be bugs.

If you are OK with these changes I can start preparing the migration.

mrdoob commented 2 years ago

Sounds great to me!

jfontan commented 2 years ago

The data was migrated to the new server. Everything seems to be working fine except for the previous and next page links that now appear to the right of the thumbnails.

mrdoob commented 2 years ago

@jfontan I think https://github.com/mrdoob/glsl-sandbox/commit/6d8314a37163a074e433cd94bffd090d6eae9c6c should fix it?

mrdoob commented 2 years ago

How do I push to production? Making a new release?

jfontan commented 2 years ago

How do I push to production? Making a new release?

Right now with a new release it creates the docker container that will be deployed in the server. The deploy part is still not automated. I do it manually after the docker container is generated. I'm preparing the webhook to do automatic deployment after release. I'll send the instructions to setup the webhook in the repository by email.