Commit 128d0df0 authored by Maarten van der Veen's avatar Maarten van der Veen

change init_db to unix formatting

parent 011351c7
#! /bin/sh
python3.5 src/manager.py db_empty
python3.5 src/manager.py db_create
# Import the 'help' pages in the database
python3.5 src/manager.py import_page Bibliography data/pages/bibliography.html en
python3.5 src/manager.py import_page Recommendations data/pages/recommendations.html en
python3.5 src/manager.py import_page Glossary data/pages/glossary.html en
python3.5 src/manager.py import_page About data/pages/about.html en
python3.5 src/manager.py import_page About data/pages/about_fr.html fr
# Initializes the structure of the shelters
python3.5 src/manager.py init_shelters_structure data/shelters/Shelters_Structure.csv data/shelters/drawning
# Initializes the administrator (owner of the imported shelters)
python3.5 src/manager.py create_admin_user
# Import of the shelters from the CSV files
python3.5 src/manager.py import_shelters admin data/shelters/20150518_Haiti_shelters.csv
python3.5 src/manager.py import_shelters admin data/shelters/Phil-Bangla-Burundi.csv
# Import pictures of the shelters
python3.5 src/manager.py import_shelters_pictures data/shelters/pictures/
# Import documents of the shelters
python3.5 src/manager.py import_shelters_documents data/shelters/documents/
# Import of the translations
python3.5 src/manager.py import_translation data/translations/sheltersDataTraduction_FR_rev_ED.csv fr
# Create database triggers for materialized view table
python3.5 src/manager.py create_db_triggers
#! /bin/sh
python3.5 src/manager.py db_empty
python3.5 src/manager.py db_create
# Import the 'help' pages in the database
python3.5 src/manager.py import_page Bibliography data/pages/bibliography.html en
python3.5 src/manager.py import_page Recommendations data/pages/recommendations.html en
python3.5 src/manager.py import_page Glossary data/pages/glossary.html en
python3.5 src/manager.py import_page About data/pages/about.html en
python3.5 src/manager.py import_page About data/pages/about_fr.html fr
# Initializes the structure of the shelters
python3.5 src/manager.py init_shelters_structure data/shelters/Shelters_Structure.csv data/shelters/drawning
# Initializes the administrator (owner of the imported shelters)
python3.5 src/manager.py create_admin_user
# Import of the shelters from the CSV files
python3.5 src/manager.py import_shelters admin data/shelters/20150518_Haiti_shelters.csv
python3.5 src/manager.py import_shelters admin data/shelters/Phil-Bangla-Burundi.csv
# Import pictures of the shelters
python3.5 src/manager.py import_shelters_pictures data/shelters/pictures/
# Import documents of the shelters
python3.5 src/manager.py import_shelters_documents data/shelters/documents/
# Import of the translations
python3.5 src/manager.py import_translation data/translations/sheltersDataTraduction_FR_rev_ED.csv fr
# Create database triggers for materialized view table
python3.5 src/manager.py create_db_triggers
......@@ -787,6 +787,7 @@ section.first {
margin: 30px 0; }
@media only screen and (min-width: 768px) {
section.first {
min-height: 540px;
height: 100vh; }
section.first .toplayer {
padding-top: 100px; } }
......
......@@ -31,7 +31,6 @@
</head>
<body>
<div id="wrapper">
<header>
<nav>
<a class="home" href="/"><i class="fa fa-plus-square"></i><span class="text">Shelter Database</span></a>
......@@ -102,6 +101,5 @@
}
});
</script>
</div>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment