yarn install
yarn serve
yarn build
To run and build the project, the following environment variables are required:
# Vue
VUE_APP_I18N_LOCALE=en-us
VUE_APP_LANGUAGES=en-us
VUE_APP_API_URL=https://{DIRECTUS-URL}
VUE_APP_TEAM_API=https://{DIRECTUS-URL}/items/team_members?fields=*.*&sort%5B%5D=sort&limit=-1
VUE_APP_ASSET_URL=https://{DIRECTUS-URL}/assets/
VUE_APP_ITEMS_URL=https://{DIRECTUS-URL}/items/
VUE_APP_ZOHO_ENDPOINT=https://oitn.maillist-manage.eu/weboptin.zc
# Prerender
PRERENDER_DOMAIN=prerender.casper.network
These are all neccessary for compiling the vue project.
VUE_APP_I18N_LOCALE
should always been-us
.VUE_APP_LANGUAGES
is a comma separated list of available languages Currently onlyen-us
exists.- Replace
{DIRECTUS-URL}
with the URL where Directus lives.
Set this according to the domain where the prerender is running