A nuxt.js-based content management system designed for https://effectindex.com
mongod --dbpath="$HOME"/.config/mongodb
. Feel free to edit this path, this is where the database will be stored.git clone https://github.com/effectindex/EffectIndex
cd EffectIndex
npm install
.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
mongorestore
utility to restore it.
mongorestore --db effectindex dump/effectindex
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.