You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: {{cookiecutter.github_repository}}/README.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,14 @@
1
-
{{ cookiecutter.project_name }}
2
-
==============================
1
+
# {{ cookiecutter.project_name }}
3
2
4
-
__Version:__ {{ cookiecutter.version }}
3
+
**Version:** {{ cookiecutter.version }}
5
4
6
5
{{ cookiecutter.project_description }}
7
6
8
7
## Getting up and running
9
8
10
9
{% if cookiecutter.add_docker == 'y' %}
11
10
!!! note
12
-
For setting up locally using `Docker`, check [here](docs/backend/docker_setup.md)
11
+
For setting up locally using `Docker`, check [here](docs/backend/docker_setup.md)
13
12
{% endif %}
14
13
15
14
Minimum requirements: **pip, python3.9, poetry, redis & [PostgreSQL 11][install-postgres]{% if cookiecutter.add_postgis.lower() == "y" %} with postgis-2.4{% endif %}**, setup is tested on Mac OSX only.
@@ -43,7 +42,7 @@ Running `poetry lock` generates `poetry.lock` which has all versions pinned.
43
42
44
43
You can install Poetry by using `pip install --pre poetry` or by following the official installation guide [here](https://github.com/python-poetry/poetry#installation).
45
44
46
-
*Tip:* We recommend that you use this workflow and keep `pyproject.toml` as well as `poetry.lock` under version control to make sure all computers and environments run exactly the same code.
45
+
_Tip:_ We recommend that you use this workflow and keep `pyproject.toml` as well as `poetry.lock` under version control to make sure all computers and environments run exactly the same code.
47
46
48
47
49
48
## Deploying Project
@@ -52,6 +51,32 @@ The deployment are managed via travis, but for the first time you'll need to set
52
51
53
52
Check out detailed server setup instruction [here](docs/backend/server_config.md).
54
53
54
+
{% if cookiecutter.add_fly == 'y' %}
55
+
56
+
### Develop on Fly.io
57
+
58
+
Create a [fly.io](https://fly.io) account.
59
+
60
+
Install `flyctl` and run the following commands to set up the Fly.io application, it will ask a series of questions regarding deployment configuration.
61
+
62
+
```
63
+
brew install flyctl
64
+
fly lauch
65
+
```
66
+
67
+
When ready to deploy, simply run the command using the Fly Dockerfile:
2. Add the `FLY_API_TOKEN` to the Github repo secrets [here](https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.github_repository}}/settings/secrets/actions)
0 commit comments