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.post20190213.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 020796acc08c65f2b137922b443ef068843221b393b65bd60ee41dbf5a91386f |
|
MD5 | 4be462a70e3ba318fab18593d45a3b1d |
|
BLAKE2b-256 | 0436012ac43a378deb7718f4b15135fd060638c089456a5a68c13cb41e000cec |
Close
Hashes for c2cgeoportal_commons-2.4.post20190213-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0813497b10aba10b938d7da127f757ea77aaee28eb871a5f5d274631865f694e |
|
MD5 | 922258468eb1768d49a7c6424f3a63eb |
|
BLAKE2b-256 | 55ce97f3d372db48c601afa876a8094948978054a4ff49599f79c65e2226cff7 |