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.dev17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1576b4c1c9340eae35f2f1704dc0244df2e8c621e72749fadf621380c3707969 |
|
MD5 | 647bf3892e981f2337208da5d356ab82 |
|
BLAKE2b-256 | 8eb42cef9f3b30803c285b32d43396d095025cf1fda3bd3604ce0ef246dbf909 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev17-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7dde01f6cc5abac6dabc7e5cd8cffad92e15cba3a4359a9c663e3b22085694 |
|
MD5 | b42fcac214cd3995f6da8690ab8fd974 |
|
BLAKE2b-256 | 742dded62fb2245ccb193483863587bab0f22567775d8ff1c68fdd95f5675c7e |