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.6.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9600186a1c39e38c3eef63453bcf4c05909b78a33e02ba45256c30dd3bad5a |
|
MD5 | c32c4b79744b16e5a985a7166e720907 |
|
BLAKE2b-256 | 21c8de26162caffe7cde0fa59a73cb7bc7f704b58cc77516b1c50c0231b3bea4 |
Close
Hashes for c2cgeoportal_commons-2.3.6.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d28258bc2787f4683eb761d52011a25aa023ec0cad74606c97769a0bd2c3125 |
|
MD5 | 5751ec0f33662251361934ce37bf1078 |
|
BLAKE2b-256 | 92e02760997450dac03e887a9babb5684509097ed411f863faea56437a545750 |