Roland Geider
fce69c329e
Correctly process weigh entry data as sent by powersync
2025-10-23 15:04:29 +02:00
Roland Geider
909361f6ec
Refactor project to use packaged version of our react component
...
This gets rid of the checked-in react code, which was causing huge diffs
2025-10-11 16:46:24 +02:00
Roland Geider
908f8e7147
More cleanup and making sure node files are copied over to the static folder
2025-06-26 17:31:37 +02:00
Roland Geider
081a9b3df1
Handle JS and CSS dependencies, just to be sure
2025-04-29 15:09:03 +02:00
Roland Geider
86fb6529cf
Install the "regular" wger project for development
2025-04-29 14:00:45 +02:00
Roland Geider
a814bae43b
Move dependencies to pyproject.toml
...
Update CI workflows, docker files, etc.
2025-04-27 19:42:29 +02:00
Roland Geider
3bdd5906a5
Add link to the online documentation
2025-03-22 22:54:00 +01:00
Roland Geider
b13063a2c1
Copy development Dockerfile from powersync branch
2024-10-22 14:27:23 +02:00
Roland Geider
178ca65ee6
Move docker files from development to production
2024-10-02 11:26:55 +02:00
Roland Geider
e021786638
Download and compile js and css files during build
...
This allows the image to start directly without needing to download anything
on every start. Also, this makes the image smaller since we don't need to install
any of the node dependencies
2024-10-02 11:25:04 +02:00
Roland Geider
2be0ce11d9
Correctly build all docker images
2024-10-01 22:54:07 +02:00
Roland Geider
715ace7192
Improve docker image
...
This should result in somewhat smaller images, which is always nice
2024-08-11 13:37:18 +02:00
Roland Geider
3ee122ec46
Add CSS file for react-simple-wysiwyg.css
...
This was previously being added to react/main.css, but was creating problems
when django-compressor was activated (which is the default during production).
Adding the CSS outside of the compress block fixes this problem
2024-07-09 17:34:02 +02:00
Dieter Plaetinck
9f54dced44
fix COPY statement
...
Step 4/23 : COPY requirements* .
When using COPY with more than one source file, the destination must be a directory and end with a /
2024-05-04 19:06:45 +02:00
Roland Geider
2baa28f65c
Use hatchling as the build backend, this seems to make less problems
2024-01-27 11:48:15 +01:00
Roland Geider
325502e10f
Don't install in editable mode
2024-01-27 11:01:44 +01:00
Roland Geider
431d3132c7
Perform an apt update in the builder stage before installing the dependencies
2023-08-20 16:57:54 +02:00
Roland Geider
d846e77230
The default query manager now returns all objects again
...
This was causing problems when users would submit new exercises, since the
new translations could not load the exercise
See also wger-project/react/issues/756
2023-07-18 20:21:48 +02:00
Roland Geider
e845b3172e
Don't do an apt update
...
We're using the base image which has already done that. Also don't delete
the apt cache since an automatic apt clear happens as well
2023-07-11 22:34:57 +02:00
Roland Geider
02697acdf0
Update installed packages
...
* remove git, which was not used
* use the base image for building, which saves us installing one or two things
* add a bunch of stuff so that the images build for arm/v7
2023-07-11 18:27:44 +02:00
Roland Geider
490480ec5c
Install additional necessary packages
2023-05-07 13:18:41 +02:00
Roland Geider
21528ecf19
Change order of commands so that all the mkdirs are together
2023-03-15 22:32:09 +01:00
Roland Geider
177e3e2bc0
Save beat database to its own folder
2023-03-15 22:23:59 +01:00
Roland Geider
67dcd0627f
Move celery start scripts to folder where the Dockerfile is
...
This makes more sense and makes the path cleaner
2023-03-04 13:51:34 +01:00
Roland Geider
dda73ec2fa
Merge branch 'master' into feature/ingredient-images
...
# Conflicts:
# extras/docker/development/settings.py
# requirements.txt
# wger/exercises/management/commands/sync-exercises.py
# wger/settings.tpl
2023-02-14 13:45:50 +01:00
bbk
d14ee1b339
use requirements_docker.txt
2023-01-07 11:31:29 +01:00
bbk
196c1a157e
the psycopg2-binary don't works on arm64
2023-01-01 18:32:58 +01:00
Roland Geider
8dff573f3d
Merge branch 'master' into feature/ingredient-images
2022-11-04 15:26:46 +01:00
dependabot[bot]
965c96802d
Bump wger/base from 2.1-dev to 2.2-dev in /extras/docker/development
...
Bumps wger/base from 2.1-dev to 2.2-dev.
---
updated-dependencies:
- dependency-name: wger/base
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-01 23:04:51 +00:00
Roland Geider
6b4f8d50f4
Start implementing a celery message queue
2022-10-19 15:18:35 +02:00
Roland Geider
4a5cc8af33
Update ubuntu to 22.04
2022-04-22 13:53:01 +02:00
Roland Geider
91918d36ea
Fix problem with wger command not being found
2022-01-02 14:09:50 +01:00
Roland Geider
3ef7432239
Install wger with pip
2022-01-02 13:16:44 +01:00
Roland Geider
9bb76258ce
Rename docker image from wger/devel to wger/server
2021-10-10 20:27:20 +02:00
Roland Geider
ff468f4a43
Use Ubuntu 21.04
...
This comes with a newer version of npm
2021-06-18 10:44:51 +02:00
colout
9fc9465a55
tzdata won't shut up
2021-06-18 10:04:07 +02:00
dependabot[bot]
36d48903e2
Bump wger/base from 2.0-dev to 2.1-dev in /extras/docker/development
...
Bumps wger/base from 2.0-dev to 2.1-dev.
---
updated-dependencies:
- dependency-name: wger/base
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-17 23:02:36 +00:00
Rasmus Storm
c626b77341
Spelling/grammar fixes in text docs/comments
...
Fixed typos and grammatical errors in comments and text documents. No code outside of comments has been altered.
2020-10-14 11:37:38 +02:00
Roland Geider
426a3e8436
Run setup.py develop as root
2020-09-22 00:45:46 +02:00
Roland Geider
d40821cdeb
Fix issue with development mode
...
Fixes #516
2020-09-22 00:35:22 +02:00
Roland Geider
96b1f50274
Cleanup requirements files
...
And add requirements file for production
2020-09-12 21:35:02 +02:00
Roland Geider
c8889abf3d
Use yarn to manage JS/CSS libraries
...
Bower is deprecated and was also making some trouble under certain circumstances
such as Docker, where sometimes it would download the files to the wrong folder.
Hopefully this results in less headaches.
2020-07-29 13:49:34 +02:00
Roland Geider
bacbce7d37
Merge branch 'master' into feature/mobile-templates
2020-07-28 20:57:47 +02:00
Roland Geider
4db2a66043
Merge branch 'docker-compose'
2020-07-28 19:13:06 +02:00
Roland Geider
4e8a22e25d
Use redis for cache and session storage
2020-07-27 19:57:57 +02:00
Roland Geider
86c73cb0f9
Make docker-compose work (seemingly)
2020-07-26 20:19:06 +02:00
Roland Geider
b815c24716
More tinkering with the dockerfile for development
2020-07-24 00:46:40 +02:00
Roland Geider
db954634af
Some improvement to development Dockerfile
...
Don't use a virtualenv insise the Dockerfile, not actually needed
2020-07-22 22:25:45 +02:00
Roland Geider
d005a1678d
Update docker compose file (WIP)
2020-07-21 11:53:05 +02:00
Roland Geider
9014e6c5df
Some improvement to development Dockerfile
...
Don't use a virtualenv insise the Dockerfile, not actually needed
2020-07-16 20:42:05 +02:00