The official repository for Greenville, SC's tech community website, maintained by Code for Greenville.
Find us on Slack!
Launch the HackGreenville project
Fork this repository, then clone your fork, and run this in your newly created directory:
The command might look something like this
git clone email@example.com:codeforgreenville/hackgreenville-com.git
You need to make a copy of the
.env.example file and rename it to
.env at your project root.
Edit the new .env file and set your database settings.
You will need to create the database. This is a sample of the command you can run.
mysql --user="dbusername" --password -e"create database hack_greenville"
composer install php artisan db:seed
db:seed command will create a default user firstname.lastname@example.org with a password of admin and fill the states table.
Run the following command to generate your app key:
php artisan key:generate
Then start your server:
Typically, the easiest way to get the project up and running locally would be to run
php artisan serve in the root directory of the site. This command is Laravel's wrapper over PHP's built in web server.
See the Laravel installation documentation for more details.
php artisan serve
The HackGreenville project is now up and running! You should be able to open localhost:8000 in your browser.
The composer install command will run
php artisan migrate --seed; yarn install; yarn prod which will build the project.
To develop you'll want to run
php artisan serve to start the applications php server and in another terminal you'll want to run
yarn watch to watch for frontend resource changes and re-build them when detected.
Our goal is to connect people to the tech-related community in the Greenville area. We currently do this by providing information on meetups and tech organizations in the area, as well as directing people to the HackGreenville slack signup page.
The meetup information is queried from the Upstate Tech Cal Service.
The organization information is queried from Code for Greenville's API.
Got some ideas on how to make the site better? Catch us at a Code for Greenville meetup, on Slack, or open an issue!
Want to contribute? Keep reading!
Now you're ready to start tackling issues. Feel free to send us a pull request!