Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.2 #296

Merged
merged 22 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e607324
Update the supported frameworks and languages page
andreia-oca Jan 21, 2025
11b2727
add-max-concurrent-instances
Virgil993 Jan 22, 2025
c4c7411
Merge pull request #294 from Genez-io/add-max-concurrent-instances
Virgil993 Jan 22, 2025
9b8cb38
specify the python version
cristim67 Jan 22, 2025
8f34243
Merge pull request #295 from Genez-io/specify-python-version
cristim67 Jan 27, 2025
57fc80d
Add --name param | genezio deploy
cristim67 Jan 28, 2025
5b8a8eb
Merge pull request #297 from Genez-io/add-support-multiple-frontends
cristim67 Jan 28, 2025
296f6f2
Update information about frontend.environtment
andreia-oca Jan 29, 2025
fb76dd5
Merge pull request #299 from Genez-io/fix-undefined-env-genezio-local
andreia-oca Jan 30, 2025
1cacb51
feat: add streamlit documentation
cristim67 Feb 5, 2025
127d496
Update docs/frameworks/streamlit.md
cristim67 Feb 5, 2025
96f3c7a
Merge pull request #300 from Genez-io/cristim67/add-streamlit
cristim67 Feb 5, 2025
bb62b9c
cristim67/choose-python-version
cristim67 Feb 5, 2025
ae9a3f4
feat: add ember in documentation
cristim67 Feb 5, 2025
78fa621
feat: extend SSR schema
cristim67 Feb 6, 2025
b2282f5
Merge pull request #301 from Genez-io/cristim67/choose-python-version
cristim67 Feb 7, 2025
308f75f
Merge pull request #302 from Genez-io/cristim67/add-ember
cristim67 Feb 7, 2025
91a152d
Merge pull request #303 from Genez-io/cristim67/extend-ssr-schema
cristim67 Feb 7, 2025
f44c9e7
Update documentation to reflect the new limits
vladiulianbogdan Feb 10, 2025
2ca1e1d
Merge pull request #304 from Genez-io/Update-documentation-to-reflect…
vladiulianbogdan Feb 10, 2025
0ac524f
Update genezio-configuration-file.md
vladiulianbogdan Feb 10, 2025
2376af2
Merge pull request #305 from Genez-io/Update-all-default-configuratio…
vladiulianbogdan Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/frameworks/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ This file will contain the configuration needed to deploy your backend using Gen
3. You might need to replace the `entry` field with the name of your wsgi application file.
4. You might need to replace the `path` field with the path relative at **genezio.yaml** file.
5. This example configuration works if **genezio.yaml** is in the same directory as your `manage.py` file and the Django app is named `project_name`.
6. The `runtime` field is the Python runtime to use for your Django app, currently, the supported runtimes are: [python3.9.x, python3.10.x, python3.11.x, python3.12.x, python3.13.x]
:::

```yaml title="genezio.yaml"
Expand All @@ -284,6 +285,8 @@ backend:
name: python
# The package manager used by the backend.
packageManager: pip
# The runtime to use for your Django app.
runtime: python3.13.x
# Information about the backend's functions.
functions:
# The name (label) of the function.
Expand Down Expand Up @@ -336,6 +339,7 @@ Open a web browser and navigate to [http://localhost:8000](http://localhost:8000

Finally, deploy your project. A browser window will open, and you will be prompted to log in to your Genezio account and
authorize the CLI to make the deployment.

Run the following command in your terminal:

```bash
Expand All @@ -355,6 +359,14 @@ After that, you can deploy your project without the `--env` flag.
For more information about environment variables, you can check
the [official documentation](/docs/project-structure/backend-environment-variables.md).

:::note
During the deployment process, Genezio automatically installs all dependencies specified in your `requirements.txt` file using:
- The correct architecture (Linux x86)
- The Python runtime specified in `genezio.yaml`

This process ensures compatibility with our serverless infrastructure, defaulting to the latest Python 3.13.x version.
:::

## See your app in Genezio Dashboard

After deploying your application, you can test it to ensure it's running correctly. To verify that your Django app is
Expand Down
151 changes: 151 additions & 0 deletions docs/frameworks/ember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
---
description: Learn how to deploy an Ember application with Genezio.
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Ember

<head>
<title>Ember | Genezio Documentation</title>
</head>

[Ember.js](https://emberjs.com/) is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich user interfaces that work on any device.

:::tip
Get started in no time with the [Ember template](https://app.genez.io/start/deploy?repository=https://github.com/Genez-io/ember-getting-started).
:::

# Deployment

Learn how to deploy an existing Ember app using Genezio, a serverless deployment platform that simplifies app management and reduces costs.

## Prerequisites

### 1. Install genezio

Use your preferred package manager to install Genezio:

<Tabs>
<TabItem className="tab-item" value="npm" label="npm">
<div id="step1-install-npm">
```
npm install genezio -g
```
</div>
</TabItem>
<TabItem className="tab-item" value="pnpm" label="pnpm">
<div id="step1-install-pnpm">
```
pnpm add -g genezio
```
</div>
</TabItem>
<TabItem className="tab-item" value="yarn" label="yarn">
<div id="step1-install-yarn">
```
yarn add global genezio
```
</div>
</TabItem>
</Tabs>

### 2. Start from an existing Ember template

Create an Ember app using the following steps:

<details>
<summary>**Create an Ember App**</summary>

<h3> 1. Fork our Ember template repository on GitHub </h3>

Go to https://github.com/Genez-io/ember-getting-started/fork and fork the repo.


<h3> 2. Clone the newly created repository locally </h3>


```bash
git clone YOUR_REPO_URL
cd ember-getting-started
```

<h3> 3. Run the Ember App locally </h3>

Run the following command to start the Ember.js app locally:

<div>
```bash
ember serve
```
</div>

<h3> 4. Test the Ember App locally </h3>

Open a web browser and navigate to http://localhost:4200/ to see the app running.

</details>

## Create the Genezio Configuration File

Now, create a `genezio.yaml` file in the root directory of your project.

This file will contain the configuration needed to deploy your backend using Genezio. Here is an example configuration.

:::info
1. This example configuration works if **genezio.yaml** is in the same directory as your main application file.
2. You might need to replace the `publish` directory value if it is different in your project.
:::

```yaml title="genezio.yaml"
# Learn more about Genezio YAML at https://genezio.com/docs/project-structure/genezio-configuration-file/
name: genezio-project
region: us-east-1
yamlVersion: 2
frontend:
path: .
publish: dist
scripts:
deploy:
- npm install
build:
- npm run build
start:
- npm install
- npm run start
```

This configuration file specifies the project name, deployment region, and details about the frontend.

## Deploy the app

In your terminal run the following command to deploy your app to the Genezio cloud:

<div>
```bash
genezio deploy
```
</div>

You should now see 2 URLs in the terminal window with the following format:

```bash
$ App Dashboard URL: https://app.genez.io/project/<project-id>/<stage-id>
$ Frontend URL: https://<subdomain>.app.genez.io
```

## Next Steps

After setting up the template, here are some recommended next steps:

<ul>
<li><a href="/docs/features/custom-domain-configuration/">Add Custom Domain</a></li>
<li><a href="./docs/features/deployments/">Learn more about Backend Deployment</a></li>
</ul>

## Support <a href="#support" id="support"></a>

We invite you to join our community on [Discord](https://discord.gg/uc9H5YKjXv) for further information and help.

**Happy Learning!**
11 changes: 11 additions & 0 deletions docs/frameworks/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ This file will contain the configuration needed to deploy your backend using Gen
3. You might need to replace the `entry` field with the name of your main application file.
4. You might need to replace the `path` field with the path relative at **genezio.yaml** file.
5. This example configuration works if **genezio.yaml** is in the same directory as your main application file.
6. The `runtime` field is the Python runtime to use for your FastAPI app, currently, the supported runtimes are: [python3.9.x, python3.10.x, python3.11.x, python3.12.x, python3.13.x]
:::

```yaml title="genezio.yaml"
Expand All @@ -215,6 +216,8 @@ backend:
name: python
# The package manager used by the backend.
packageManager: pip
# The runtime to use for your FastAPI app.
runtime: python3.13.x
# Information about the backend's functions.
functions:
# The name (label) of the function.
Expand Down Expand Up @@ -286,6 +289,14 @@ After that, you can deploy your project without the `--env` flag.
For more information about environment variables, you can check
the [official documentation](/docs/project-structure/backend-environment-variables.md).

:::note
During the deployment process, Genezio automatically installs all dependencies specified in your `requirements.txt` file using:
- The correct architecture (Linux x86)
- The Python runtime specified in `genezio.yaml`

This process ensures compatibility with our serverless infrastructure, defaulting to the latest Python 3.13.x version.
:::

## See your app in Genezio Dashboard

After deploying your application, you can test it to ensure it's running correctly. To verify that your FastAPI app is
Expand Down
11 changes: 11 additions & 0 deletions docs/frameworks/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ This file will contain the configuration needed to deploy your backend using Gen
3. You might need to replace the `entry` field with the name of your main application file.
4. You might need to replace the `path` field with the path relative at **genezio.yaml** file.
5. This example configuration works if **genezio.yaml** is in the same directory as your main application file.
6. The `runtime` field is the Python runtime to use for your Flask app, currently, the supported runtimes are: [python3.9.x, python3.10.x, python3.11.x, python3.12.x, python3.13.x]
:::

```yaml title="genezio.yaml"
Expand All @@ -216,6 +217,8 @@ backend:
name: python
# The package manager used by the backend.
packageManager: pip
# The runtime to use for your Flask app.
runtime: python3.13.x
# Information about the backend's functions.
functions:
# The name (label) of the function.
Expand Down Expand Up @@ -287,6 +290,14 @@ After that, you can deploy your project without the `--env` flag.
For more information about environment variables, you can check
the [official documentation](/docs/project-structure/backend-environment-variables.md).

:::note
During the deployment process, Genezio automatically installs all dependencies specified in your `requirements.txt` file using:
- The correct architecture (Linux x86)
- The Python runtime specified in `genezio.yaml`

This process ensures compatibility with our serverless infrastructure, defaulting to the latest Python 3.13.x version.
:::

## See your app in Genezio Dashboard

After deploying your application, you can test it to ensure it's running correctly. To verify that your Flask app is
Expand Down
Loading