# c2cgeoportal_common
## Checkout
git clone [email protected]:camptocamp/c2cgeoportal.git
cd common
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use common/testing/initialized.py to create the database (development.ini at admin side)
```
## Run the tests
```
make test
```
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
c2cgeoportal_commons-2.3.6.7.tar.gz (68个子文件)
c2cgeoportal_commons-2.3.6.7
MANIFEST.in 88B
PKG-INFO 1KB
c2cgeoportal_commons.egg-info
PKG-INFO 1KB
requires.txt 253B
not-zip-safe 1B
SOURCES.txt 4KB
top_level.txt 38B
dependency_links.txt 1B
setup.cfg 243B
c2cgeoportal_commons
models
main.py 42KB
__init__.py 2KB
static.py 8KB
sqlalchemy.py 2KB
alembic
static
1857owc78a07_add_last_login_and_expiration_date.py 3KB
5472fbc19f39_add_temp_password_column.py 2KB
1da396a88908_move_user_table_to_static_schema.py 6KB
3f89a7d71a5e_alter_column_url_to_remove_limitation.py 2KB
53d671b17b20_add_timezone_on_datetime_fields.py 3KB
main
7d271f4527cd_add_layer_column_in_layerv1_table.py 2KB
116b9b79fc4d_internal_and_external_layer_tables_.py 9KB
ec82a8906649_add_missing_on_delete_cascade_on_layer_.py 3KB
54645a535ad6_add_ordering_in_relation.py 4KB
e004f76e951a_add_missing_not_null.py 4KB
daf738d5bae4_merge_2_0_and_master_branches.py 2KB
d8ef99bc227e_be_able_to_delete_a_linked_functionality.py 3KB
dba87f2647f9_merge_2_2_on_2_3.py 2KB
6a412d9437b1_rename_serverogc_to_ogcserver.py 2KB
164ac0819a61_add_image_format_to_wmts_layer.py 2KB
166ff2dcc48d_create_database.py 12KB
32527659d57b_move_exclude_properties_from_layerv1_to_.py 3KB
5109242131ce_add_column_time_widget.py 2KB
29f2a32859ec_merge_1_6_and_master_branches.py 2KB
ee25d267bf46_main_interface_desktop.py 2KB
b60f2a505f42_remame_uimetadata_to_metadata.py 2KB
951ff84bd8ec_be_able_to_delete_a_wms_layer_in_sql.py 6KB
a4f1aac9bda_merge_1_6_and_master_branches.py 2KB
596ba21e3833_separate_local_internal.py 2KB
809650bd04c3_add_dimension_field.py 2KB
94db7e7e5b21_merge_2_2_and_master_branches.py 2KB
1418cb05921b_merge_1_6_and_master_branches.py 2KB
d48a63b348f1_change_mapserver_url_for_docker.py 2KB
32b21aa1d0ed_merge_e004f76e951a_and_e004f76e951a_.py 2KB
7530011a66a7_trigger_on_role_updates_user_in_static.py 3KB
8117bb9bba16_use_dimension_on_all_the_layers.py 3KB
2b8ed8c1df94_set_layergroup_treeitem_is_as_a_primary_.py 2KB
e7e03dedade3_put_the_default_wms_server_in_the_.py 3KB
6d87fdad275a_convert_metadata_to_the_right_case.py 3KB
1d5d4abfebd1_add_restricted_theme.py 3KB
22e6dfb556de_add_description_tree_.py 2KB
21f11066f8ec_trigger_on_role_updates_user_in_static.py 3KB
415746eb9f6_changes_for_v2.py 16KB
9268a1dffac0_add_trigger_to_be_able_to_correctly_.py 3KB
20137477bd02_update_icons_url.py 4KB
53ba1a68d5fe_add_theme_to_fulltextsearch.py 3KB
env.py 4KB
testing
__init__.py 2KB
initializedb.py 4KB
__init__.py 601B
lib
email_.py 3KB
__init__.py 0B
config.py 2KB
requirements.txt 154B
setup.py 3KB
README.md 564B
acceptance_tests
conftest.py 2KB
__init__.py 0B
test_users.py 2KB
test_roles.py 842B
共 68 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功