File tree 6 files changed +0
-49
lines changed
6 files changed +0
-49
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
# About Packend
13
13
** Packend** is a free and open-source Website that gather latest python backend jobs in the Netherlands, made by the _ Django_ framework.
14
14
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
-
19
15
# Features
20
16
21
17
- [x] Based on ** Django 4**
@@ -59,30 +55,6 @@ $ sudo apt-get install libpq-dev
59
55
$ python manage.py runserver
60
56
```
61
57
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
-
86
58
# Why ?
87
59
88
60
I created this website, to gather everything that needs to know about The Netherlands.
Original file line number Diff line number Diff line change 12
12
13
13
from pathlib import Path
14
14
import os
15
- import django_heroku
16
15
17
16
# Build paths inside the project like this: BASE_DIR / 'subdir'.
18
17
BASE_DIR = Path (__file__ ).resolve ().parent .parent
19
18
20
-
21
19
# Quick-start development settings - unsuitable for production
22
20
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
23
21
29
27
30
28
ALLOWED_HOSTS = ['*' ]
31
29
32
-
33
30
# Application definition
34
31
35
32
INSTALLED_APPS = [
74
71
75
72
WSGI_APPLICATION = 'config.wsgi.application'
76
73
77
-
78
74
# Database
79
75
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
80
76
85
81
}
86
82
}
87
83
88
-
89
84
# Password validation
90
85
# https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-validators
91
86
104
99
},
105
100
]
106
101
107
-
108
102
# Internationalization
109
103
# https://docs.djangoproject.com/en/4.1/topics/i18n/
110
104
116
110
117
111
USE_TZ = True
118
112
119
-
120
113
# Static files (CSS, JavaScript, Images)
121
114
# https://docs.djangoproject.com/en/4.1/howto/static-files/
122
115
126
119
BASE_DIR / "static" ,
127
120
]
128
121
129
-
130
122
# Default primary key field type
131
123
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
132
124
133
125
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
134
- django_heroku .settings (locals ())
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments