Commit Graph

14 Commits (main)

Author SHA1 Message Date
Kitaiti Makoto 2f53fc78b6 Remove unnecessary trick 1 year ago
Kitaiti Makoto 302026feb9 Update Rust on building Docker image [skip ci] 1 year ago
Kitaiti Makoto affe24b9c6 Replace cargo-web with wasm-pack on build environment 3 years ago
Chosto 7e78cffcaa
Bump Docker base images to buster flavor (#797) 4 years ago
KemoNine 72464fb428 Add missing dep on clang needed for crate builds (#724) 4 years ago
fdb-hiroshima 49bb8cb0bc
import migrations and don't require diesel_cli for admins (#555)
* import migrations via macro

* panic on database not to the latest migration

* add subcommand to plm

* create migration that run tantivy index creation

* remove diesel_cli from places it was

* use our migration system for tests

* create table __diesel_schema_migrations if needed
5 years ago
Dominique Feyer 0490b698cb Use multi step build to limit the docker image size (#416)
* Use multi step build to limit the image size

This change replace the Dockerfile with a multi step build to avoid huge image
size (the new image should be around 130Mo including all layers), compared to
more that 1Go with the full build chain. It's also more safe. This image does
not include cargo (not needed in production), so the old Dockerfile is available
and renamed Dockerfile.slim for those who use Docker for development setup.

* Use correct path for local repository

* Use sleep between chmod and execution
5 years ago
KemoNine dfa89e227a Plume front arm support (#402)
* Update plume-front build to use a shell script that adds the necessary dependencies on arm (x86 left untouched inside the script)

* Fix cleanup portion of plume-front.sh

* Break wasm dependencies for arm out so they are run before the main builds to improve layer caching on subsequent docker builds

* Fixup dockerfile so wasm-deps can run properly and with fewer assumptions

* Move new scripts to script/ folder

* Remove saving of path as it's not actually not necessary

* Add rust-toolchain to early copy so it pulls the right rust release (addresses #400)
5 years ago
Baptiste Gelez 3fce5d6a14
Use Rust for the front-end too (#374)
Rust can compile to WASM, so let's use it for front-end code as well.

To compile the front-end:

```
cargo install cargo-web
cargo web deploy -p plume-front
```
5 years ago
Baptiste Gelez 5a682419cb
Remove the docs folder (#371)
Since documentation now has its own repo.

I also modified a bit the dockerfile to make the image lighter.
5 years ago
fdb-hiroshima ab2998e214
Make Plume compile on release (#365)
* Remove use of String for body parameters

Create SignedJson and implement FromData for it

* Make Travis test on release

* Remove warning when installing and fix coverage
5 years ago
Bat fe3df74986 Fix Docker build (forgot --features)
And update diesel_cli in Docker too
6 years ago
Bat caa4c38948 Update installation and update docs with the new plm tool
Also updates the Docker files
6 years ago
Eliot Berriot e5cdb2869f
Sample compose file and Dockerfile for deployment 6 years ago