1. Setting up your environment
Ensure you have the latest version of Node.js installed. We recommend using nvm for managing versions:
nvm install 18.14.0
Next, install required tools:
npm 9.5.1
JavaScript package manager
Yarn 2.5
Fast dependency resolver
Docker 20.1
Container management
2. Installing Elen CLI
Install the Elen command-line interface globally to manage your projects
npm install -g @elen/cli
Success
Elen CLI installed successfully. Verified version 3.2.1
Verify installation:
elen --version
3. Creating your first project
Create a new project
elen create my-project
This will scaffold a new Elen project with:
- TypeScript configured
- ESLint & Prettier
- Tailwind CSS setup
4. Deployment
Elen projects deploy in three simple steps:
1
Build
Optimizes assets and builds deployment package.
2
Configure
Set up cloud environment in .env file
3
Deploy
Automated deployment to production
$ elen deploy\n
🚀 Building deployment package...
✅ Deploy success! View at https://your-project.elen.dev