BLEXT is a blog website where you can finish the whole "edit - store - publish" blogging process in one place, providing ultimate personal blog experience.
See the latest documentation.
- Please make sure there is python3.x properly installed on your Mac.
- Fork this repo.
git clone
your forked repo to local andcd
to the repo root.
$ git remote add upstream https://github.com/seagullbird/BLEXT.git
$ pyvenv venv
This should add a venv/
folder under your repo root. (Notice: You can only name your virtual environment folder with 'venv' since this is declated in .gitignore.)
And:
$ source venv/bin/activate
Will activate the virtual environment while you see a (venv)
before $
in your terminal.
(venv) $ pip install -r requirements/dev.txt
Notice: You may also want to run pip install --upgrade pip
first to upgrade your pip.
This step is recommended but you don't necessarily have to do this if you're just taking a quick glance.
On registration in this application, the server would send an email to the email address you're signing up with. This step is the prerequisite that the server send the email successfully. The server will get sender's email address and password from local environment variables, so let's set it up first.
(venv) $ export MAIL_USERNAME=mike@email.com
(venv) $ export MAIL_PASSWORD=mikespassword
Use any of your own workable email addresses to replace Mike's. This will cause no network security problems to you since your password is only save in your local environment and will be gone after the terminal is shut down.
(venv) $ chmod +x manage.py
To give authorization to manage.py
. (You only have to do this once.)
(venv) $ ./manage.py runserver
To get the server running. Now you can visit 127.0.0.1:5000 to see the Blext app.
(venv) $ deactivate
You can change any thing you want and if you think you've made some great contributions to this project, please do create a new pull request. Many thanks.
Also remember to git pull upstream master
each next time before opening this project to keep synchronic with me.
To submit changes, first run git push origin master
(after git add .
and git commit -m '<description>'
) to push your local repo to your own (forked from this) remote repo, then create a new pull request in your own github repo and wait for me to merge!
See development log for more details.
BLEXT is released under the MIT License. See LICENSE file for details.