Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Discover movies and retrieve information about them

License

Notifications You must be signed in to change notification settings

andorfermichael/movie-search

Repository files navigation

Movie Search

Discover movies and retrieve information about them.

Development

  • npm install
  • setup Apache Solr locally
  • create a solr core (see docs folder, CORE_CREATION.md) with the movies.json from the data folder
  • grunt
  • change to /app/assets/scripts/node/ and run node index.js to start the application

Production

  • grunt build
  • setup Node.js on your server
  • setup Apache Solr on your server
  • create a solr core (see docs folder, CORE_CREATION.md) with the movies.json from the data folder
  • configure NGINX on your server (see docs folder, example.com)
  • move the content of dist/ to the application folder in /var/www/
  • move the package.json to the application folder and run npm install
  • change to /var/www/appfolder/assets/scripts/node/ and run node index.js to start the application
  • optional but recommended: configure PM2 or a SysVinit script to run the application even when the server restarts due to any reason

Test

npm test

Authors

License

GNU General Public License, version 3 (GPL-3.0)