尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
regluit - "The Unglue.it web application and website"
=======
Another repo - https://github.com/EbookFoundation/regluit will eventually be the place for collaborative development for Unglue.it. Add issues and submit pull requests there. As of September 1, 2019, https://github.com/Gluejar/regluit is still being used for production builds.檢視完整 README ↗Another repo - https://github.com/EbookFoundation/regluit will eventually be the place for collaborative development for Unglue.it. Add issues and submit pull requests there. As of September 1, 2019, https://github.com/Gluejar/regluit is still being used for production builds.
The first version of the unglue.it codebase was a services-oriented project named "unglu".
We decided that "unglu" was too complicated, so we started over and named the new project "regluit".
regluit is a Django project that
contains four main applications: core, frontend, api and payment that can be deployed
and configured on as many ec2 instances that are needed to support traffic.
The partitioning between these modules is not as clean as would be ideal. payment is particularly messy because we had to retool it twice because we had to switch from Paypal to Amazon Payments to Stripe.
regluit was originally developed on Django 1.3 (python 2.7) and currently runs on Django 1.11 Python 3.8).
Here are some instructions for setting up regluit for development on an Ubuntu system. If you are on OS X see notes below.
sudo apt-get upgrade gccsudo apt-get install python-setuptools git python-lxml build-essential libssl-dev libffi-dev python3.8-dev libxml2-dev libxslt-dev libmysqlclient-devsudo easy_install virtualenv virtualenvwrappergit clone [email protected]:Gluejar/regluit.gitcd regluitmkvirtualenv regluitpip install -r requirements.txtadd2virtualenv ..cp settings/dev.py settings/me.pymkdir settings/keys/cp settings/dummy/* settings/keys/settings/me.py with proper mysql and redis configurations.settings/keys/common.py and settings/keys/host.py with account and key information OR if you have the ansible vault password, run ansible-playbook create_keys.yml inside the vagrant directory.echo 'export DJANGO_SETTINGS_MODULE=regluit.settings.me' >> ~/.virtualenvs/regluit/bin/postactivatedeactivate ; workon regluitdjango-admin.py migrate --noinputdjango-admin.py loaddata core/fixtures/initial_data.json core/fixtures/bookloader.json populate database with test data to run properly.redis-server to start the task brokercelery -A regluit worker --loglevel=INFO start the celery daemon to perform asynchronous tasks like adding related editions, and display logging information in the foreground. Add --logfile=logs/celery.log if you want the logs to go into a log file.celery -A regluit beat --loglevel=INFO to start the celerybeat daemon to handle scheduled tasks.django-admin.py runserver 0.0.0.0:8000 (you can change the port number from the default value of 8000)CSS development
See http://github.com/EbookFoundation/regluit-provisioning
To run regluit on OS X you should have XCode installed
Install MySQL:
brew install [email protected]
mysql_secure_installation
mysqld_safe --user=root -p
We use pyenv and pipenv to set up an environment.
Edit or create .bashrc in ~ to enable virtualenvwrapper commands:
pipenv install -r requirements.txt
Edit .zshrc to include the following lines:
eval "$(pyenv init -)"
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/10/bin
export PATH=$PATH:/usr/local/opt/mysql-client/bin:$PATH
export ANSIBLE_VAULT_PASSWORD_FILE=PATH_TO_VAULT_PASSWORD
If you get EnvironmentError: mysql_config not found
you might need to set a path to mysqlconfig
You may need to set utf8 in /etc/my.cnf collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
ungluify_record.py should only be used to modify records of print editions of unglued ebooks. It will not produce appropriate results for CC/PD ebooks.