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.4.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee0bfe97922dbb71f88723842015ad036c9f1f5cec2ee50cf675c85634ef923 |
|
MD5 | bf30c148a8a726c0af44ed932546ee07 |
|
BLAKE2b-256 | fe53b369f68be4fabdbe5b893f3b9d86ee0b7506653f2103412dad1dcac75c51 |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ce6a2615208ed30163909d046612b942e8a94c9665812e3df8028add3d08bc |
|
MD5 | 500ab074435537984addd80968b9a3ef |
|
BLAKE2b-256 | 270f6798a5dd30efc4a5bf54b10ea3dd927472c70fe864bf340de66487b1b22b |