Commit graph

33 commits

Author SHA1 Message Date
Daoud Clarke
62187fa8ce Accidental change to dockerfile 2023-11-09 13:44:43 +00:00
Daoud Clarke
1b23076286 Specify manifest path in prod 2023-11-09 13:43:34 +00:00
Daoud Clarke
03fd7e8d9d Collect static files 2023-10-28 16:38:56 +01:00
Daoud Clarke
0f1f1d64f4 Revert "Temp remove nginx config"
This reverts commit 191a0db758.
2023-10-27 06:44:04 +01:00
Daoud Clarke
191a0db758 Temp remove nginx config 2023-10-27 06:39:28 +01:00
Daoud Clarke
b583e18d6a Add settings without background computation for prod 2023-10-19 14:33:10 +01:00
Daoud Clarke
bd496aeab2 Add the app.json in Dockerfile 2023-10-12 22:02:27 +01:00
Daoud Clarke
09de4a918e Copy to the mounted volume in python code 2023-10-12 21:21:30 +01:00
Daoud Clarke
2e4456a338 Build the front end 2023-10-12 20:52:51 +01:00
Daoud Clarke
c6d9e6ebb0 Fix some paths, use prod settings in Dockerfile 2023-10-10 20:18:43 +01:00
Daoud Clarke
918eaa8709 Rename django app to mwmbl 2023-10-10 13:51:06 +01:00
Daoud Clarke
a50f1d8ae3 Fix postgres install 2023-01-02 12:19:10 +00:00
Daoud Clarke
1ab16b1fb4 Install postgres client 2023-01-02 12:18:03 +00:00
Daoud Clarke
c01129cdb9 Merge branch 'master' of github.com:mwmbl/mwmbl 2022-12-27 10:25:41 +00:00
Daoud Clarke
26351a1072 Use the correct storage location in prod 2022-12-27 10:24:48 +00:00
Daoud Clarke
f3f3831a97
Merge pull request #83 from omasanori/spacy-deps-rework
Rework installation of spaCy models for clarity
2022-12-27 10:20:52 +00:00
Masanori Ogino
71187a3938 Rework installation of spaCy models for clarity
- Install the wheel package for compatibility with future pip
- Use `spacy download` for installing model(s)
- Use `spacy validate` for checking model compatibility explicitly

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2022-12-27 11:33:52 +09:00
Daoud Clarke
d85067ec09 Remove apt command 2022-12-24 20:20:53 +00:00
Daoud Clarke
1ef60e8d5d Put install in correct place 2022-12-24 20:18:02 +00:00
Daoud Clarke
8e613dd368 Install psql client 2022-12-24 20:13:53 +00:00
Daoud Clarke
a50bc28436 Make it easier to rum mwmbl locally 2022-12-07 20:01:31 +00:00
Daoud Clarke
a67ca7b298 Enable CORS in nginx 2022-06-19 11:16:03 +01:00
Daoud Clarke
eb1c59990c Expose the port 2022-06-17 23:57:58 +01:00
Daoud Clarke
476481c5f8 Put the resources in the package 2022-06-17 23:32:43 +01:00
Daoud Clarke
505e7521d4 Copy the resources 2022-06-17 23:29:04 +01:00
Daoud Clarke
1c7420e5fb Don't depend on existing data 2022-06-17 23:12:22 +01:00
Daoud Clarke
363103468e Update Dockerfile for changes 2022-06-17 21:26:21 +01:00
Daoud Clarke
00d18c3474 Remove unused code 2022-02-23 21:59:24 +00:00
Daoud Clarke
7d829bc319 Use python 3.10; complete terms 2022-01-30 23:24:00 +00:00
nitred
a72a08a7d9 added config and binary/entrypoint for mwmbl.tinysearchengine
- using pydantic to validate the config
- added a default bootstrap config at config/tinysearchengine.yaml
- refactored app.py to include parsing CLI argument using argparse
- refactored app.py to use fewer global variables
- added "mwmbl-tinysearchengine" binary/entrypoint in pyproject.toml
- updated Dockerfile to work with these changes and added comments to it
2021-12-29 15:26:33 +01:00
nitred
11eedcde84 renamed package to mwmbl
- renamed package to mwmbl in pyproject.toml
- tinysearchengine and indexer modules have been moved into mwmbl package folder
- analyse module has been left as is in the root of the repo
- import statements in tinysearchengine now use mwmbl.tinysearchengine
- import statements in indexer now use mwmbl.indexer or mwmbl.tinysearchengine or relative imports like .paths
- import statements in analyse now use mwmbl.indexer or mwmbl.tinysearchengine
- final CMD in Dockerfile now uses updated path mwmbl.tinysearchengine.app
- fixed a couple of import statement errors in tinysearchengine/indexer.py
2021-12-28 12:35:46 +01:00
Daoud Clarke
7e520fb32f Get Dockerfile working 2021-12-23 21:30:51 +00:00
Daoud Clarke
9c65bf3c8f WIP: implement docker image. TODO: copy index and set the correct index path using env var 2021-12-22 23:21:23 +00:00