c2cgeoportal commons
Project description
# c2cgeoportal_common
## Checkout
git clone git@github.com: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
```
## Checkout
git clone git@github.com: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
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
c2cgeoportal_commons-2.4.tar.gz
(32.5 kB
view details)
Built Distribution
File details
Details for the file c2cgeoportal_commons-2.4.tar.gz
.
File metadata
- Download URL: c2cgeoportal_commons-2.4.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1560afcf1edc9ff3938bac597030106a3fa32c3f2996476eb7781af1ee0f9419 |
|
MD5 | 893cacd08f93cfd9a9858070fbb03254 |
|
BLAKE2b-256 | bffcc6e60ad0911cf2a80c891506e590bb88187269919e5c297ea896ddcbf844 |
Provenance
File details
Details for the file c2cgeoportal_commons-2.4-py3-none-any.whl
.
File metadata
- Download URL: c2cgeoportal_commons-2.4-py3-none-any.whl
- Upload date:
- Size: 92.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61453096df6cb48e1aed17d134049d9270c8a853b0c8894fd35b694a40cb07e |
|
MD5 | 062d06c0d847e94705dfa88599f136c0 |
|
BLAKE2b-256 | 9b3858be05b3a7a21a5bafd2ec6fed962ded4eb4627bf751c2f69ab3da89d55a |