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.4.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fa84e30c15b729963c64adc2d31450c671075794caf591da8a6c7bf3822959 |
|
MD5 | 25a9aad111dc27733200ca901ffa53f0 |
|
BLAKE2b-256 | 0528730638c19faf0ca3bb989a0c39c41bcf34441302b6b7a0f8ed25d8f55adf |
Close
Hashes for c2cgeoportal_commons-2.3.4.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af867c9b90326f3ab326181c378e7c5d9884dbd455842e995dba915b517fe6f |
|
MD5 | b94ef2d2574dd8a30e25fc2d9622802f |
|
BLAKE2b-256 | ad4a8f29f178b364df413d6383a8b51583b9a45791d3b876eb95386959244ee2 |