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.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed8d3484c722c183c7e6ad665b4be67fb7d476a912ca8e195e26039506f6f32 |
|
MD5 | a00d7054d0f637bf4fa394e00365d174 |
|
BLAKE2b-256 | 6bd3d5c996134d6603ba801df0cc098bf643dd1b9321b2d4fef22ac47b5fcb86 |
Close
Hashes for c2cgeoportal_commons-2.4.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f048b8e84cd6e2ded958e70e069e897b1e32a2a56bafc97498e604e026e8414a |
|
MD5 | 6865bfcdaee324f05572a87e41ee1727 |
|
BLAKE2b-256 | 1e65cf18769b71d4613c7f136f60528034eeaeb371aa5fce84bd4f24d035cef0 |