Custom DjangoLDP based package for Energie Partagee
Project description
djangoldp_energiepartagee
How to install the project locally
1- create virtual environement
py -m venv venv
2- activate venv
venv\Scripts\activate.bat
3- update pip & wheel
py -m pip install -U pip wheel
4- install sib-manager
py -m pip install -U sib-manager
5- launch the startproject command
sib startproject energiepartagee_server
6- install server
=> go into energiepartagee_server folder
sib install server
7- create superuser
py manage.py createsuperuser
8- add virtual link with the djangoldp_energiepartagee package :
mklink /D [LINK] [TARGET]
mklink /D [...]\energiepartage_server\djangoldp_energiepartagee [...]\djangoldp_energiepartagee\djangoldp_energiepartagee
=><!> [LINK] : Link to the "folder" where the target will be found
9- add the package in the package.yml file
10- run migration and migrate
py manage.py makemigrations djangoldp_energiepartagee
(for the first time, then py manage.py makemigrations
will be enough in case ogf modifications of the package)
py manage.py migrate
11- runserver
py manage.py runserver
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
Hashes for djangoldp_energiepartagee-0.0.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a10a32b0662bfaa2059039c3a85924bfca0d1e98c8b781ae3e7f811d5ef5cb |
|
MD5 | c4e3d2a4419556f52ce3a46ffe6d790c |
|
BLAKE2b-256 | 2948eeb7e8b622f5f454b3577ad6be078051cb5012b096fda95b5872861b7fcc |
Hashes for djangoldp_energiepartagee-0.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ea9a5425e63a27fff16576c7138edbad7792fb57e5849e48b0b15523f87a9f5 |
|
MD5 | 641c788a579bcba49356c81c8ed511f4 |
|
BLAKE2b-256 | 4244ccc573757bfc4c5e433afa2cdd9163d311c8e5c2998666b24bdaa40aaedb |