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.4.post20190318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8821d892036948b95f9a9959145ba84f56fb60496acf61c5cf2faa7f65e91843 |
|
MD5 | e94d1cc8748964f3f82770fa4ef2f95d |
|
BLAKE2b-256 | c6184feddc78ec511f09792b2719512a0d55145ad974f5196cd83f73fbc47557 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 737b51ea2459a6fd8d6764fdb9bbe9f8f18b728acc19394b356878a1046be5b3 |
|
MD5 | 776d8dbaa35cdaea6be150fb915bb905 |
|
BLAKE2b-256 | cbcdf4ca0d74fbc063bc1ec3dd0d2335fe1befbf54e835f2f2a16c93653e04f3 |