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
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.5.34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d38a4c4a1706f6dbdf3ab372d63fd15e083d6d2c747526db732c0b0505599c8 |
|
MD5 | b5c3e5015f406bddfca0786795837891 |
|
BLAKE2b-256 | 86bff1384e21a0f72c05ba020494663d5435292bc7f0585f60510b8af77ea43e |
Close
Hashes for c2cgeoportal_commons-2.3.5.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0988ac65707360c3fd9dd6ddd8e09da5b257c142e17f333bde92b57fca05ca05 |
|
MD5 | d11ea586c80cfe09abe6e7dee5ed3625 |
|
BLAKE2b-256 | f04d52155e9c9042f0299035f981ed56cca5731526c00025aa923457ddd5c212 |