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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b70208f93dd331c6d3b8b5c7f8aa8a4ad9cacb4a607c9a0eb0df3e2712840af |
|
MD5 | 14a88210de178966c3aeb17bc1207959 |
|
BLAKE2b-256 | 00ff18ebddf505b014e55a79a86e904fbf645999c18584f1442be04c8323d237 |
Close
Hashes for c2cgeoportal_commons-2.3.6.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f879f1babfe1daebb66f00004c379bc675a1e7e87ba336085ab310f88cf24b |
|
MD5 | feb677d96cc3ea5d942ff8809e224160 |
|
BLAKE2b-256 | a61524ee4e62db5e31e4a6d51c383f7ac58386536124a8fbd270851320199c5a |