Now, everything is working as expected.
AppStore Refresh Process: [~aloraine]
Steps:
-->Because we changed variables names, we have to delete migration files.
rm /var/www/vhosts/appstore/apps/migrations/0001_initial.py
rm /var/www/vhosts/appstore/download/migrations/0001_initial.py
rm /var/www/vhosts/appstore/submit_app/migrations/0001_initial.py
-->Remove content in the database by removing the file
rm dbsqlite3(make backup)
--> start virtual environment
source /var/www/vhosts/appstore/venv/appstore/bin/activate
--> load tables and load data
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata appsDB.json
python manage.py rebuild_index
--> Give write permissions to newly created dbsqlite3 file
sudo su
chmod 664 /var/www/vhosts/appstore/db.sqlite3
chown :www-data /var/www/vhosts/appstore/db.sqlite3
chown :www-data /var/www/vhosts/appstore
--> Give write permissions to newly created whoosh_index file
sudo chown -R www-data:www-data whoosh_index
--> Restart Apache
sudo service apache2 restart
PHASE 1 Branch: https://bitbucket.org/svallapu/appstore/branch/IGBF-1720
I will be doing this ticket in two phases.
Changes made:
1.Changed 'cy-' to ''
2. Changed 'cy_' to ''
3. Changed '2x' to 'twox'
4. Changed 'cy2x' to 'twox'