Sourcery is a Django web-application created to aid in organizing your resources/bookmarks. As a student diving into the vast world of Software Development, I noticed my ever-growing list of folders and bookmarks were becoming more and more tedious to navigate through. Sourcery is here to to help resolve that issue. The idea was to give a clean user-interface that was easy to use but also had a fun design and feel to it. Users can register an account and add as many resource types/spellbooks as they would like and then create and assign resources (articles, videos, etc) to the resource types. The user has the ability to save notes and images associated with each resource to allow better organization and tracking. Within each resource card users can either teleport to (go to), transform (edit), or vanish (delete) the resource. The "front-end" is fully constructed utilizing Django's templating system. Sourcery is fully CRUD capable. Data stored in SQLite 3 database.
Python | Django | SQLite 3 | Bootstrap
brew install sqlite
Visit the SQLite downloads and download the 64-bit DLL (x64) for SQLite version, unzip and install it.
The DB browser for SQLite will let you view, query and manage your databases for this project.
Visual Studio Code is Microsoft's cross-platform editor that you can use to view Python and Django code.
Within the terminal, navigate to the location where you'd like to create the new environment and Sourcery project. Create a folder called Sourcery and navigate within the new folder. Then, enter this text to create the new environment:
virtualenv ENV
Then activate your environment:
source ENV/bin/activate
Note that you can type "deactivate" to end the new environment at any time.
Within your new Sourcery folder (and with the virtual env activated), download Django by typing:
pip install django
Within your new Sourcery project folder, download the source code by typing:
git clone [email protected]:CosignMyCodesign/Sourcery.git
After downloading the Sourcery project, you should have a new folder within the Sourcery Project folder that you created. The new folder will also be called sourcery. Navigate within this folder. Start the server by typing:
python manage.py runserver
Within your web browser, navigate to http://localhost:8000/
From here, you should see the login / register view for the application.
While inside the Sourcery/sourcery folder, enter this command:
python manage.py makemigrations sourcery
Then enter
python manage.py migrate
You now have a database named sqlite3.sql within your existing folder. Use the DB Browser for SQLite to open the new database if desired.
Login/Auth cloned down from another school project (Instructors Joe Shephard and Steve Brownlee are shown as contributors for this)