尚未检测到更新。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.