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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de17d413fdcdfc25438e51f7af02dc0a2434200b1b4d514d0a10804969a8bfb6 |
|
MD5 | 0d49ac43dc579eecc631dd9408adf9a1 |
|
BLAKE2b-256 | fc971a70a8c827e1cefc826d4f3395e5a62f117ddf05c32dfe2a85ce144641f4 |
Close
Hashes for c2cgeoportal_commons-2.3.6.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44a3d5c7b73212a2b858e30a91311ed3816c45f3bc2c67ec00af6dcd00f8beb1 |
|
MD5 | e53eafbd729922c6077899a6699bcc6e |
|
BLAKE2b-256 | b57d9138665c00f187db60db011183064ae7d2fdbd10d4d812a6e99f4eb5c0f2 |