Skip to content

avikganguly01/RuralAnalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

from root of the project directory $./bin/setup-env.sh

To get a development environment setup. Re-run this whenever you add a package to requirements.pip

$./bin/setup-db.sh mysqluser mysqlpass dbname dbuser dbpass

To setup a mysql database name dbname with all privileges to dbuser with dbpass

$source ./venv/bin/activate

To activate virtual development environment and start coding!

$deactivate

To exit the virtual environment

Database Creation

$mysql -u user -p [enter password]

CREATE DATABASE ruralanalytics; CREATE USER 'batman'@'localhost' IDENTIFIED BY 'imbatman'; GRANT ALL PRIVILEGES ON ruralanalytics.* TO batman@localhost IDENTIFIED BY 'imbatman' quit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published