-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Homayoun edited this page Nov 3, 2024
·
6 revisions
Before starting, make sure you have:
- Node.js version 18.17.0 or above π’
-
Clone the Repository π₯
git clone https://github.com/homayunmmdy/nexca.git
-
Navigate to the Project Directory π
cd nexca
-
Install Dependencies π¦
npm install
-
Copy and Rename Environment File π
cp .env.sample .env.local
-
Customize the Configuration π οΈ
- Open the
.env.local
file. - Edit the values according to your setup to ensure all necessary environment variables are configured.
- Open the
-
Start the Development Server π
npm run dev
-
Access the Admin Panel π₯οΈ
- Open your browser and go to http://localhost:3000/admin (or use the port specified in your
.env
file).
- Open your browser and go to http://localhost:3000/admin (or use the port specified in your
-
Enjoy the Admin Panel π
Vercel is perfect for hosting Node.js applications, especially those using Next.js. It provides automatic CI/CD, custom domains, and easy environment management.
-
Sign Up or Log In to Vercel π
- Go to Vercel's website and sign up if you donβt have an account.
- Log in to your account.
-
Connect Your Git Repository π
- Click the New Project button.
- Select the repository you cloned (
nexca
) and follow the prompts.
-
Configure Environment Variables π
- During setup, Vercel will ask for environment variables.
- Enter the same variables as in your
.env.local
file.
-
Deploy the Project π
- Click Deploy to build and deploy your application.
-
Access Your Deployed Application π
- After deployment, Vercel provides a live URL to access the admin panel.
Here's a quick preview of Nexca:
-
Homepage π
-
Admin Panel π οΈ
-
Landing Page π