Skip to content

Latest commit

 

History

History
79 lines (64 loc) · 2.12 KB

README.md

File metadata and controls

79 lines (64 loc) · 2.12 KB

Workshop 1

Link to hosted project

https://sapphire-rainy-flea.app.genez.io/

Prerequisites

If you don't already have them, you'll need to install the following tools:

Note: I recommend you to use nvm to manage NodeJs and npm versions. After installing nvm, you can easily get the any version of node by running nvm install <node_version>. nvm will automatically install the corresponding npm version.

Project Structure

client/
├── dist/ 
├── node_modules/
├── src/
| ├── App.css
│ ├── App.tsx
│ ├── FileUpload.tsx
│ ├── index.css
│ ├── main.tsx
│ ├── vite-env.d.ts
├── .eslintrc.cjs
├── .gitignore
├── index.html
├── package.json
├── package-lock.json
├── README.md
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts

server/
├── node_modules/ (library root)
├── .gitignore
├── backend.ts
├── index.mjs
├── package.json
├── package-lock.json
├── .genezioignore
└── genezio.yaml

Deploy Your Project

  1. Install the Genezio CLI globally
npm install -g genezio
  1. Login to Genezio
genezio login
  1. Start a local server
genezio local

Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install -g genezio Installs genezio globally
genezio login Logs in to genezio
genezio local Starts a local server
genezio deploy Deploys a production project
genezio --help Get help using genezio