Skip to content

Commit 7540f61

Browse files
committed
refactor: drop fandogh SaS support
1 parent 65e5361 commit 7540f61

File tree

6 files changed

+0
-49
lines changed

6 files changed

+0
-49
lines changed

.fandogh/config.yml

-1
This file was deleted.

Dockerfile

-8
This file was deleted.

README.md

-28
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
# About Packend
1313
**Packend** is a free and open-source Website that gather latest python backend jobs in the Netherlands, made by the _Django_ framework.
1414

15-
# Live Demo
16-
17-
You can see the deployed version of project [here](http://packend.promethe.dev/) or [here](http://packend-promethe.fandogh.cloud/)
18-
1915
# Features
2016

2117
- [x] Based on **Django 4**
@@ -59,30 +55,6 @@ $ sudo apt-get install libpq-dev
5955
$ python manage.py runserver
6056
```
6157

62-
# Deploy on Fandogh
63-
64-
[fandogh.cloud](https://www.fandogh.cloud/) is a fantastic PaaS that allows you to
65-
deploy project easily. You just need to make your project dockerized.
66-
67-
To deploy project follow these commands :
68-
69-
**Step 1 :** initiate the image
70-
```shell
71-
$ fandogh image init --name=packend
72-
```
73-
74-
**Step 2 :** publish the image to fandogh registry
75-
```shell
76-
$ fandogh image publish --version v0.1
77-
```
78-
79-
**Step 3 :** deploy the image. Done!
80-
```shell
81-
$ fandogh service deploy --version v0.1 --name packend -p 8000 --hosts packend.promethe.dev
82-
```
83-
84-
> To use `--host` option you should first verify your domain in fangogh
85-
8658
# Why ?
8759

8860
I created this website, to gather everything that needs to know about The Netherlands.

config/settings.py

-9
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212

1313
from pathlib import Path
1414
import os
15-
import django_heroku
1615

1716
# Build paths inside the project like this: BASE_DIR / 'subdir'.
1817
BASE_DIR = Path(__file__).resolve().parent.parent
1918

20-
2119
# Quick-start development settings - unsuitable for production
2220
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
2321

@@ -29,7 +27,6 @@
2927

3028
ALLOWED_HOSTS = ['*']
3129

32-
3330
# Application definition
3431

3532
INSTALLED_APPS = [
@@ -74,7 +71,6 @@
7471

7572
WSGI_APPLICATION = 'config.wsgi.application'
7673

77-
7874
# Database
7975
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
8076

@@ -85,7 +81,6 @@
8581
}
8682
}
8783

88-
8984
# Password validation
9085
# https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-validators
9186

@@ -104,7 +99,6 @@
10499
},
105100
]
106101

107-
108102
# Internationalization
109103
# https://docs.djangoproject.com/en/4.1/topics/i18n/
110104

@@ -116,7 +110,6 @@
116110

117111
USE_TZ = True
118112

119-
120113
# Static files (CSS, JavaScript, Images)
121114
# https://docs.djangoproject.com/en/4.1/howto/static-files/
122115

@@ -126,9 +119,7 @@
126119
BASE_DIR / "static",
127120
]
128121

129-
130122
# Default primary key field type
131123
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
132124

133125
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
134-
django_heroku.settings(locals())

requirements.txt

-387 Bytes
Binary file not shown.

run.sh

-3
This file was deleted.

0 commit comments

Comments
 (0)