COVID19 Resource Directory
Built with compassion, by humans at icrewsystems
This project is aimed to be used as a directory listing for resources about COVID19 in India. The application is capable of retrieving and indexing data from API sources.
git clone https://github.com/icrewsystemsofficial/covid19resources.git
- cd into the directory
- Run composer install,
composer install
- Create a seperate branch for yourself in git.
git branch BRANCHNAME
&git checkout BRANCHNAME
-- Interns are requested not to use Master branch at all. - Copy .env file,
cp .env.example .env
- Generate Key
php artisan key:generate
- Create a database named
laravel_airlime
- Go to /database/seed/DeveloperAccess.php and update the second entry to your name & email ID. By default, it will have Leonard's account setup. You can edit it or add a new entry for yourself. Enter your password by using the Hash facade,
Hash::make("MyPassword")
- Setup symlink by running
php artisan storage:link
(This is only required the first time). - Migrate DB & Seed it (only required on the first time, unless directed by Project Manager)
php artisan migrate --seed
- Whenever you pull from the repository, please run
composer install
andnpm run dev
to compile all assets. - Run
php artisan migrate:fresh --seed
. All required data MUST be put into the DB as seeders.
Done! Your project is now setup. You can now directly run it by going to your http://localhost/covid19resources, you HAVE to run php artisan serve
command. Since we'll be using ngrok to show previews to the client, it's mandatory to leave the server.php intact. If you're using Laragon, you don't have to worry about this, else you have to add an ASSET_URL="${APP_URL}/public"
in your .env file. You can have a spearate tab open to run the php artisan serve command.
Mark your assigned tasks from "Planned" to "In Progress" while working on it, Once you've committed & pushed it, change the task status to "Done". You must report your work on the commits.