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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fca2dcfdd16413a70804401445e82e9708c050778b0a8d2d1a0316ff1c17962 |
|
MD5 | 50775a0c24e32fd9e35e03b20f1f87a3 |
|
BLAKE2b-256 | 203ec9f16e23d59f6f1e44b83d019c8065c773cd7b55e60fc4dfe7dcfb3a8217 |
Close
Hashes for c2cgeoportal_commons-2.3.6.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1ca0803f433214826bb5ac558a301e7b129109e099d8c0171d3c03b62362b8 |
|
MD5 | eab7d5c53c5f1219de6ffdaaa3967d97 |
|
BLAKE2b-256 | 57253e33ef12ee5fe99c52e0d54761ecca5d2af181d31cb58c6f6da147f5b053 |