-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to c2cgeoportal 2.3 (step 1)
Views, js, ... are not overwritten yet
- Loading branch information
Showing
279 changed files
with
63,641 additions
and
14,053 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.js] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,23 @@ | ||
*~ | ||
*.pyc | ||
*.po~ | ||
/apache/README.txt | ||
/apache/frontend.conf | ||
/apache/mapserver.conf | ||
/apache/wsgi.conf | ||
/apache/application.wsgi | ||
/deploy/deploy.cfg | ||
/alembic.ini | ||
/alembic_static.ini | ||
/lux_alembic.ini | ||
/development.ini | ||
/production.ini | ||
/project.yaml | ||
/*.egg-info/ | ||
/print/WEB-INF/classes/logback.xml | ||
/geoportailv3/locale/*/LC_MESSAGES/*.mo | ||
/geoportailv3/locale/*/LC_MESSAGES/*-client.po | ||
/geoportailv3/locale/*/LC_MESSAGES/*-client-tooltips.po | ||
/geoportailv3/static/mobile/ | ||
#/geoportailv3/static/mobile/resources/sass/.sass-cache | ||
#/geoportailv3/static/mobile/resources/css/app.css | ||
#/geoportailv3/static/mobile/archive/ | ||
#/geoportailv3/static/mobile/build/ | ||
#/geoportailv3/static/mobile/openlayers-mobile.js | ||
#/geoportailv3/static/mobile/bootstrap.js | ||
#/geoportailv3/static/mobile/bootstrap.json | ||
/geoportailv3/static/build | ||
/geoportailv3/locale/*.pot | ||
/.eggs | ||
/.build | ||
/package-lock.json | ||
/node_modules | ||
vars_wepa.yaml | ||
*.pyo | ||
__pycache__/ | ||
/.env | ||
/geoportal/.venv/ | ||
/geoportal/dist/ | ||
/geoportal/build/ | ||
/geoportal/geoportailv3_geoportal/static-ngeo/build/ | ||
/geoportal/geoportailv3_geoportal.egg-info/ | ||
/geoportal/geoportailv3_geoportal/locale/*/LC_MESSAGES/*.mo | ||
/geoportal/c2cgeoportal/ | ||
/geoportal/node_modules/ | ||
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-client.pot | ||
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-server.pot | ||
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-tooltips.pot | ||
/geoportal/geoportailv3_geoportal/locale/ngeo.pot | ||
/.build/ | ||
/node_modules/ | ||
/geoportailv3/ | ||
/apache/ | ||
/print/WEB-INF/ | ||
/geoportailv3.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,12 @@ | ||
language: python | ||
|
||
dist: trusty | ||
|
||
python: | ||
- 2.7 | ||
--- | ||
|
||
sudo: false | ||
|
||
addons: | ||
postgresql: "9.5" | ||
apt: | ||
packages: | ||
- postgresql-9.5-postgis-2.3 | ||
|
||
install: | ||
- createdb -E UTF8 -T template0 template_postgis -U postgres | ||
- psql -d template_postgis -c "CREATE EXTENSION postgis;" -U postgres | ||
- createdb -E UTF8 -T template_postgis lux -U postgres | ||
- createuser www-data --no-superuser --no-createdb --no-createrole -U postgres | ||
- psql -d lux -c 'CREATE SCHEMA geov3;' -U postgres | ||
- psql -d lux -c 'CREATE SCHEMA geov3_static;' -U postgres | ||
- psql -d lux -c 'CREATE SCHEMA geov3_stats;' -U postgres | ||
- psql -d lux -c "ALTER USER \"www-data\" PASSWORD 'www-data';" -U postgres | ||
- psql -d lux -c 'GRANT SELECT ON spatial_ref_sys TO "www-data";' -U postgres | ||
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3 TO "www-data";' -U postgres | ||
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3_static TO "www-data";' -U postgres | ||
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3_stats TO "www-data";' -U postgres | ||
- psql -d lux -c 'GRANT ALL ON geometry_columns TO "www-data";' -U postgres | ||
|
||
- make -f travis.mk .build/requirements.timestamp || make -f travis.mk .build/requirements.timestamp | ||
- make -f travis.mk .build/dev-requirements.timestamp || make -f travis.mk .build/dev-requirements.timestamp | ||
- make -f travis.mk alembic.ini lux_alembic.ini | ||
- .build/venv/bin/alembic upgrade head | ||
- .build/venv/bin/alembic -c lux_alembic.ini upgrade head | ||
- make -f travis.mk .build/build.js || make -f travis.mk .build/build.js | ||
- make -f travis.mk build | ||
- python3-netifaces | ||
|
||
script: | ||
- make -f travis.mk checks | ||
- ln -s env-localdev .env | ||
- make build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.