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.post20190207.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd9867b5e80c5944c9fdd243b615db324e59d57861c905683861a414214fcd3 |
|
MD5 | c1d57aade8a619c45063f51cbe053af9 |
|
BLAKE2b-256 | aaf766b351286237261f80cad6c0c78607f213664e66d383f77b96140e5ecf9f |
Close
Hashes for c2cgeoportal_commons-2.4.post20190207-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e46e3b31d318088b28c9da275eb4cc7bdb4902bcb3e570e328f729e23fcae878 |
|
MD5 | 3353bf92f5202a457b952d90b7ba1c71 |
|
BLAKE2b-256 | b356326b9fa890ddf460c7594c34a25850fa699ca92bae58263b0a1af7b1e242 |