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.5.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a41defa9e8a97dff485a8e40224dca5d993da44e06a3ac4da42504c4364ca3e6 |
|
MD5 | 27309e16605e5103854cc3ad513b90e5 |
|
BLAKE2b-256 | e8146f4d8481c9e4972eb5666e798fb1128200087d9089632a9181bc5048a68f |
Close
Hashes for c2cgeoportal_commons-2.3.5.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16f2a6596a6c6d630bb5e726bd38a1b204c0f91d62bb99549f50bbfb873a664b |
|
MD5 | 2aa09e6485aebbdbbc55581077dd1ae2 |
|
BLAKE2b-256 | 3dd540f455bf249b63fb48bdd6c6434c59c260728e1bc846c2c0d81ed135cd37 |