Skip to content

A resource dedicated to establishing the field of formalised Subjective Effect Documentation.

License

Notifications You must be signed in to change notification settings

effectindex/EffectIndex

Repository files navigation

effectindex

A nuxt.js-based content management system designed for https://effectindex.com

Installation

  1. Install Git, Node and MongoDB
  2. Run mongod --dbpath="$HOME"/.config/mongodb. Feel free to edit this path, this is where the database will be stored.
  3. git clone https://github.com/effectindex/EffectIndex
  4. cd EffectIndex
  5. npm install
  6. Create a .env file in the EffectIndex directory with the following contents:
# URL of the server
BASE_URL=http://localhost:3000/
# Base URL for Axios ('/' unless running in some directory)
BROWSER_BASE_URL=/
# A secret for the JSON Web Tokens
jwtSecret=change_this_to_something_other_than_this
  1. (optional) Download a dump of the database and use the MongoDB mongorestore utility to restore it.
  • Extract the zip file to a folder
  • mongorestore --db effectindex dump/effectindex
  1. Use npm run dev to run the development server, npm run build to build the production site, and npm run start to start the production site.

Note: If your Node version is newer than 16, you will get an error upon startup. If you have nvm installed, nvm use while in the EffectIndex directory will automatically use the right version.

Note: If your computer supports IPv6, you MUST use --ipv6 when running mongod, otherwise EffectIndex will fail to connect to the database.

About

A resource dedicated to establishing the field of formalised Subjective Effect Documentation.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published