Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pomb/love-structure
initial project structure for love2d project
https://github.com/pomb/love-structure
Last synced: about 1 month ago
JSON representation
initial project structure for love2d project
- Host: GitHub
- URL: https://github.com/pomb/love-structure
- Owner: Pomb
- License: mit
- Created: 2020-11-07T11:48:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-07T12:35:51.000Z (about 4 years ago)
- Last Synced: 2024-11-10T18:47:08.838Z (2 months ago)
- Language: Python
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# love-structure
Initial project structure for love2d projectAfter making a couple small love2d prototypes, this structure seemed to emerge. So I wrote this small script to automate the process of getting started.
## What does it do exactly?
Creates a simple project folder structure
Pulls in a couple common libraries that I've found useful
Creates a git repo for the project
Creates the initial files: main, conf, todo, readme and gitignore![](love-project-structure.png)
## How use
1. Make sure you have [git](https://git-scm.com) and [python3](https://www.python.org/downloads/) installed2. Clone the repo into a folder on your computer, somewhere like:
`Users//scripts`
3. cd into the folder in the terminal and clone this repo by typing:
`git clone https://github.com/Pomb/love-structure.git`
4. Add the folder to the path in your .zshrc or .bashrc script
`export PATH=$HOME/scripts/love-structure:$PATH`
5. Allow calling the script straight from the terminal
`sudo chmod a+x /Users//scripts/myscript.py`
6. Run the script by typing:
`love-structure.py `