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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811bf8bfb05a4232429d7846ed30cb96b7b4ac61e983b3d621e6f21fac5dc6b7 |
|
MD5 | 33811e68b96b8ae6ae1f6a2a795536a9 |
|
BLAKE2b-256 | ab5413e330ddc63c6aab8a2ec33a41d41026063bfe24adfc77c12122abfc1617 |
Close
Hashes for c2cgeoportal_commons-2.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22bc2dcb45d5b16367564a33e53ee6b13a739bb5b02b33496cf0182afd6c274d |
|
MD5 | 24fa4bd27c62d368bbda576bc818ef78 |
|
BLAKE2b-256 | b6c20b86226d7f2a8c61e9ea39230dd08b25dda48ebd275551e6dfcbfe6b210b |