Ask Your Question
0

How can AdonisJs fullstack be deployed on Vercel?

asked 2023-05-16 12:47:14 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-16 12:50:01 +0000

devzero gravatar image

AdonisJs fullstack can be deployed on Vercel by following the below steps:

  1. Create a new AdonisJs Fullstack project with adonis new project-name --full.

  2. Open the terminal and navigate to the project directory.

  3. Initialize git repository by running git init.

  4. Create a new repository on Github/Gitlab/Bitbucket and push the project to the repository.

  5. Install the Vercel CLI by running npm install -g vercel.

  6. Authenticate with Vercel by running vercel login.

  7. Run vercel init and select the project from the list.

  8. Configure the deployment settings, such as domain and environment variables.

  9. Deploy the app to Vercel by running vercel.

  10. Visit the deployed app's URL to test the deployment.

Note: Vercel uses now.json for configuration. You can modify or create a new now.json file in the root directory to customize the deployment settings.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-16 12:47:14 +0000

Seen: 15 times

Last updated: May 16 '23