File tree Expand file tree Collapse file tree 6 files changed +54
-22
lines changed Expand file tree Collapse file tree 6 files changed +54
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : Django CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ max-parallel : 4
15
+ matrix :
16
+ python-version : [3.7, 3.8, 3.9]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v3
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : Install Dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+ pip install -r requirements.txt
28
+ - name : Run Tests
29
+ run : |
30
+ python manage.py test
Original file line number Diff line number Diff line change 1
- # ⚡ Run
2
1
3
- *** For ` Windows ` & ` MacOS ` ***
4
- ``` bash
5
- python manage.py runserver
6
- ```
7
- *** For ` Linux ` ***
8
- ``` bash
9
- python3 manage.py runserver
10
- ```
11
-
12
- # 🖼️ Home Page
13
- <div align =center >
14
- <img src =" https://github.com/radadiavasu/shoppifly/blob/master/media/productimg/homepage.jpg " >
15
-
16
-
17
- # 🧠 Future Enhancement
18
-
19
- *** Build ` Fashion Recommandation System ` for ` Top-Wear ` and ` Bottom-Wear ` .***
Original file line number Diff line number Diff line change 26
26
# SECURITY WARNING: don't run with debug turned on in production!
27
27
DEBUG = True
28
28
29
- ALLOWED_HOSTS = []
29
+ ALLOWED_HOSTS = ['.vercel.app' ]
30
30
31
31
32
32
# Application definition
171
171
messages .WARNING : 'danger' ,
172
172
messages .ERROR : 'danger' ,
173
173
50 : 'critical' ,
174
- }
174
+ }
Original file line number Diff line number Diff line change
1
+ //<<<<<<< main
1
2
{
2
3
"builds" : [{
3
4
"src" : " shoppifly/wsgi.py" ,
10
11
"dest" : " shoppifly/wsgi.py"
11
12
}
12
13
]
13
- }
14
+ }
15
+ =======
16
+ {
17
+ "builds" : [{
18
+ "src" : " shoppifly/wsgi.py" ,
19
+ "use" : " @vercel/python" ,
20
+ "config" : { "maxLambdaSize" : " 15mb" , "runtime" : " python3.10" }
21
+ }],
22
+ "routes" : [
23
+ {
24
+ "src" : " /(.*)" ,
25
+ "dest" : " shoppifly/wsgi.py"
26
+ }
27
+ ]
28
+ }
29
+ >>>>>>> master
Original file line number Diff line number Diff line change 15
15
16
16
application = get_wsgi_application ()
17
17
18
+ # <<<<<<< main
18
19
19
- # app = application
20
+ # # app = application
21
+ # =======
22
+ # app = application
23
+ # >>>>>>> master
You can’t perform that action at this time.
0 commit comments