Skip to content
HackGreenville's Website
PHP HTML Vue
Branch: develop
Clone or download
Pull request Compare This branch is 81 commits ahead of magoun:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
style-guide
tests
.env.example
.gitattributes
.gitignore
README.md
UPGRADE-AND-RELEASE-NOTES
artisan
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml
server.php
webpack.mix.js
yarn.lock

README.md

HackGreenville

HackGreenville

The official repository for Greenville, SC's tech community website, maintained by Code for Greenville.

https://hackgreenville.com

Find us on Slack!

Getting started

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 git@github.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

That db:seed command will create a default user admin@admin.com 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.

Purpose

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!

Contributions welcome!

System requirements

  • This site was built with PHP 7 and Laravel.
  • You'll need composer as well.
  • You'll need yarn as well.

Now you're ready to start tackling issues. Feel free to send us a pull request!

Links

You can’t perform that action at this time.