Elentra JS Documentation
2.0
2.0
  • Introduction
  • Why Elentra JS 2.0?
    • Dedicated Repository
    • TypeScript
    • Class-Based Components
    • Vue Standard Routing
    • Organizational Theming
    • Yarn Package Manager
  • Developers
    • Getting Started
    • Setup Guide
      • Install Requirements
      • Clone the Repository
      • Environment Variables
      • Install Dependencies
      • Serve Dev Mode
  • Design System
    • Overview
    • Component Library
      • Directory Structure
      • Components
    • Style Library
      • Directory Structure
      • How it Works
        • Variables
        • Mixins
        • Utility Classes
        • Elements
        • Legacy Styles
        • Shim
    • Taxonomy
      • UI Taxonomy
      • UX Taxonomy
      • Variable & Utility Class Naming Convention
Powered by GitBook
On this page
  • 1. Copy Env File
  • 2. Edit Env File
  1. Developers
  2. Setup Guide

Environment Variables

1. Copy Env File

In the newly cloned ~/Sites/elentra-2x-js folder. You will find a file named .env.example

Create a copy of .env.example and rename it to .env

cp .env.example .env
rm .env.example

2. Edit Env File

Edit the username, password, auth_username and auth_password values in the new .env file. The auth credentials should be the same values found in your ~/Sites/elentra-1x-me/www-root/core/config/config.inc.php

VUE_APP_I18N_LOCALE=en
VUE_APP_I18N_FALLBACK_LOCALE=en
DEV_USER_NAME=admin
DEV_USER_PASSWORD=password
API_BASE_URL=http://elentra-1x-me.localhost
ENTRADA_RELATIVE=dist
ELENTRA_AUTH_USERNAME=34dbab5d4392628131f5f046cc74373b
ELENTRA_AUTH_PASSWORD=d006108ce56426f430e5e720a2619224
PreviousClone the RepositoryNextInstall Dependencies

Last updated 4 years ago