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.0rc4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e85384ce754e22f493c6deae76155db7e6d3b223922f43ed7e63dc401390e1 |
|
MD5 | dfb5e755cc0b56bcba9e18bd8695e19a |
|
BLAKE2b-256 | 0bcebbf55118077248f52ca1dc0a7142aec4246cc8b4e6009146c31986ee9078 |
Close
Hashes for c2cgeoportal_commons-2.4.0rc4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7e01fd7192543eeb2551b8bcc3a283e8c955c2cc9708bf676e7e5bcee0e7f0 |
|
MD5 | 961b0ac60465770ac5584bcfbd81a744 |
|
BLAKE2b-256 | 006206be3d84ec61c4c6ec435478b2de053c0f6dc989bdcd3e447f6533d3dcc0 |