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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62e5fbbadefa1861bca7245afebf778d14a85306bdf34aae67d2b92609641c53 |
|
MD5 | 8361267dd79f830c15228463d6a0b501 |
|
BLAKE2b-256 | b39c7b18c1b41f31c711c0d19ebb0c571fff0cbdab7291a1a4e170b3005547a1 |
Close
Hashes for c2cgeoportal_commons-2.3.5.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecf7a6b7857ff1f3087ce751aacf38fbdb37dc7759e6abf402ad8c6899fe13d |
|
MD5 | fa7301da1bb9a81cbc43cd57c6a0a3b7 |
|
BLAKE2b-256 | 39ca83d1b41e9224e22c8da1c4426b48305b8d76d047c66915e86a2c3e157a4e |