Y
Y
Yura Khlyan2015-12-01 13:10:17
Python
Yura Khlyan, 2015-12-01 13:10:17

How to make your project available to everyone?

Good day.
I've been developing a Django-Oscar store and I want anyone to be able to try it. Haven't worked with GIT yet. How can I do it?
I think you need something like this (in general terms):

  • Create a requirements.txt file from the list of required packages
  • Create a repository with this project
  • Create .gitignore (by the way, what files should I put there?)
  • Put all the necessary files in the repository
  • Push the project to GitHub
  • ...
  • PROFIT??!!

And actually everything? Then, to install yourself, you need to create a virtualenv and install everything from requirements.txt, and just copy all the files? Or is something missing?
Can you help me figure it out? I will be very grateful for your help.
=========UPDATE=========
Here is what I did:
  • Created a repository
  • Created requirements.txt
  • Created .gitignore
  • Moved all files to the repository
  • Copied the repository to another folder
  • Created a virtualenv
  • Installed everything from requirements.txt
  • Started the server
  • AND....

The server gave me an error: 'compress' is not a valid tag library: Template library compress not found, tried ...
As I understand it, it doesn't see the 'compress' tag, WHAT??
=========UPDATE 2=========
Added compressor to INSTALLED_APPS and it worked

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Karateev, 2015-12-01
@MAGistr_MTM

Hello. Well, in principle, yes, he painted everything correctly. If the repository is not private, then anyone can clone it from github and feel the project, report bugs / suggestions, make a pull request.
It is worth adding another README.md or README.rst to the root and describing the project briefly there, giving links to the documentation, etc. github will render the content on the main page of the repository. You can look at the example of popular repositories how others make out.
In .gitignore, manually specify which files / directories to ignore the git: https://git-scm.com/docs/gitignore It understands regular expressions and all that.

A
asd111, 2015-12-01
@asd111

It would be nice to make a page on github pages with screenshots and working examples of sites or just templates rendered in html so that you can see what's going on.

A
aol-nnov, 2015-12-01
@aol-nnov

> Create .gitignore (by the way, what files should I put there?)
https://github.com/github/gitignore
I think you will find it to your liking ;)

I
Ivan, 2015-12-01
@LiguidCool

In this case, everything is simple - the eyes are afraid, but the hands are doing. See how others do and do the same.

V
Vladimir Abiduev, 2015-12-10
@gunlinux

.editorconfig
AND tests, tests, tests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question