Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# love-structure
Initial project structure for love2d project

After 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/) installed

2. 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 `