Installing without a Database (Windows) - Samuel-Buteau/universal-battery-database GitHub Wiki
All the commands (starting with >
) should be run in Command Prompt.
Create and activate a new Python environment.
1.2. Install requirements.
>pip3 install -r requirements_nosql.txt
3. Setting up configuration.
Pick your own your_database_name
, your_username
, your_password
, and your_secret_key
. Since there is no database installed, these can be very simple (even left as default). Then, create a new file cycling/config.ini
that contains the following:
[DEFAULT]
Database = your_database_name
User = your_username
Password = your_password
Host = localhost
Port = 0000
Backend = sqlite3
SecretKey = your_secret_key
4. Download the dataset file.
Put the dataset file(s) in a single folder, somewhere easily accessible to you. The path to this folder will need to be provided to different programs later.