Hardware Reference
In-Depth Information
Then, perform the following steps:
1.
Extract the archive:
(venv)debian@beaglebone:~/MediaDrop$ tar xvzf MediaCore-
0.10.3.tar.gz
2.
Enter the new directory to launch the installation script:
(venv)debian@beaglebone:~/MediaDrop$ cd MediaCore-0.10.3
(venv)debian@beaglebone:~/MediaDrop/MediaCore-0.10.3$ python
setup.py develop
3.
This will take a few minutes, as it checks and downloads the required
dependencies, and will end with the following lines:
Finished processing dependencies for MediaCore==0.10.3
(venv)debian@beaglebone:~/MediaDrop/MediaCore-0.10.3$ cd ..
(venv)debian@beaglebone:~/MediaDrop$
4.
From here, the recommended installation is to enter the following:
(venv)debian@beaglebone:~/MediaDrop$ paster make-config MediaCore
production.ini
This will generate the production.ini file, which the server will use as a
configuration file. So, we can adapt by editing it.
Step 3 - basic configuration file
What we want to do here is tell which database we created and the related credentials.
So, edit the production.ini file, with nano (or vim ) in order to focus on the
[app:main] section, as we want to change the following line:
sqlalchemy.url = mysql://username:pass@localhost/dbname?charset=utf8&use_
unicode=0
 
Search WWH ::




Custom Search