File tree 7 files changed +96
-0
lines changed
7 files changed +96
-0
lines changed Original file line number Diff line number Diff line change
1
+ include setup.py
2
+ recursive-include amon/templates *
3
+ recursive-include amon/static *
Original file line number Diff line number Diff line change
1
+ var gulp = require ( 'gulp' ) ;
2
+ var sass = require ( 'gulp-sass' ) ;
3
+ var uglify = require ( 'gulp-uglify' ) ;
4
+ var concat = require ( 'gulp-concat' ) ;
5
+ var ngAnnotate = require ( 'gulp-ng-annotate' )
6
+
7
+ gulp . task ( 'sass' , function ( ) {
8
+ gulp . src ( 'amon/static/sass/**/*.scss' )
9
+ . pipe ( sass ( ) . on ( 'error' , sass . logError ) )
10
+ . pipe ( sass ( { outputStyle : 'compressed' } ) )
11
+ . pipe ( gulp . dest ( 'amon/static/css' ) ) ;
12
+ } ) ;
13
+
14
+ gulp . task ( 'sass:watch' , function ( ) {
15
+ gulp . watch ( 'amon/static/sass/**/*.scss' , [ 'sass' ] ) ;
16
+ } ) ;
17
+
18
+
19
+ gulp . task ( 'js' , function ( ) {
20
+ gulp . src ( [ 'amon/static/js/apps/*.js' ] )
21
+ . pipe ( concat ( 'app.min.js' ) )
22
+ . pipe ( ngAnnotate ( ) )
23
+ . pipe ( uglify ( ) )
24
+ . pipe ( gulp . dest ( 'amon/static/js/' ) )
25
+ } )
Original file line number Diff line number Diff line change
1
+ bind = "0.0.0.0:8000"
2
+ workers = 4
3
+ worker_class='gevent'
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+ import os
3
+ import sys
4
+
5
+ if __name__ == "__main__" :
6
+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "amon.settings" )
7
+
8
+ from django .core .management import execute_from_command_line
9
+
10
+ execute_from_command_line (sys .argv )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " amon-gulp" ,
3
+ "version" : " 1.0.1" ,
4
+ "description" : " Amon Gulp Dependencies" ,
5
+ "scripts" : {
6
+ "gulp" : " gulp" ,
7
+ "postinstall" : " npm rebuild gulp-sass node-sass;"
8
+ },
9
+ "dependencies" : {
10
+ "gulp" : " ^3.9.0" ,
11
+ "gulp-sass" : " ^2.0.4" ,
12
+ "gulp-notify" : " ^2.2.0" ,
13
+ "gulp-uglify" : " ^1.4.1" ,
14
+ "gulp-concat" : " ^2.6.0" ,
15
+ "gulp-ng-annotate" : " ^1.1.0"
16
+ }
17
+ }
Original file line number Diff line number Diff line change
1
+ apache-libcloud == 1.5.0
2
+ beautifulsoup4 == 4.5.1
3
+ boto == 2.45.0
4
+ Django == 1.9.12
5
+ django-annoying == 0.10.3
6
+ django-kronos == 1.0
7
+
8
+ djangorestframework == 3.5.3
9
+
10
+ pyaml == 16.12.2
11
+ pycrypto == 2.6.1
12
+ pymongo == 3.4.0
13
+ python-crontab == 2.1.1
14
+ python-dateutil == 2.6.0
15
+ pytz == 2016.10
16
+ requests == 2.12.4
17
+
18
+
19
+ # Deployment
20
+ gunicorn == 19.6.0
21
+
22
+ # Cloud
23
+ xmltodict == 0.10.2
24
+
25
+
26
+ # Testing
27
+ wheel == 0.29.0
28
+ yanc == 0.3.3
29
+ nose == 1.3.7
30
+ nose-exclude == 0.5.0
31
+ nose-timer == 0.6.0
32
+ Faker == 0.7.7
33
+ django-nose == 1.4.4
Original file line number Diff line number Diff line change
1
+ import os
2
+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "amon.settings" )
3
+
4
+ from django .core .wsgi import get_wsgi_application
5
+ application = get_wsgi_application ()
You can’t perform that action at this time.
0 commit comments