Skip to content

Commit

Permalink
Improve Search Algorithm (#101)
Browse files Browse the repository at this point in the history
* Update README.md start instructions

* Update search function for articles

* Remove console log

* Update articles search to use text search instead of regex

* Update search for Flyers and Magazines

* Update documentation, remove unused Fuse package

* Fix README.md start docs

* Filter out past flyers during flyers search

* Fix formatting, improve concision

* Remove start.md

* Changed indexing method to being declared on the models

* Update README.md

Co-authored-by: Archit Mehta <[email protected]>

---------

Co-authored-by: Archit Mehta <[email protected]>
  • Loading branch information
zachseidner1 and Archit404Error committed Sep 10, 2023
1 parent 86768bd commit 9ce89dd
Show file tree
Hide file tree
Showing 12 changed files with 306 additions and 686 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,19 @@ and install dependencies with

`npm install`

To run the project, use
We use `direnv` to keep track of environment variables. Install `direnv` to your machine.
In order to allow direnv to load environment variables, it needs to be able to hook into your shell. If using ZSH, for example, you should add the following line to the end of your `~/.zshrc` file:
`eval "$(direnv hook zsh)"`

You can find the full list of direnv hook commands [here](https://direnv.net/docs/hook.html)

Then, to start the project, run the following terminal commands
`direnv allow`


`npm run start`


## Setting up the database

Make sure `MongoDB` is installed. [See installation guide](https://docs.mongodb.com/manual/installation/).
Expand Down
Loading

0 comments on commit 9ce89dd

Please sign in to comment.