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.post20190301.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d226af368188fcb189d61a489c339bd796d79279c2808741d558f447c723877f |
|
MD5 | 338cfc2f59ae6550c85ee803f0b7c14f |
|
BLAKE2b-256 | ed4cc5968d7b92519904f07a913826078482cfbec6b38c5e946de9faf6ce5fff |
Close
Hashes for c2cgeoportal_commons-2.4.post20190301-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeee30a6c73d02cb8313c9e216dfece573d747e8cecf4ce94e8738c1964cc1dd |
|
MD5 | 08f16189db93b1b3109cc99bce4f0e4b |
|
BLAKE2b-256 | 2af1ca2fb96408874978a781df498de2522a659a0f16a40abc67866569d4133e |