Compare commits
1 Commits
rename-app
...
fix-global
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edddd830c1 |
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -53,19 +53,19 @@ jobs:
|
|||||||
then
|
then
|
||||||
(cd && tar xzf ~/bench-cache/bench.tgz)
|
(cd && tar xzf ~/bench-cache/bench.tgz)
|
||||||
else
|
else
|
||||||
bench init ~/frappe-bench --skip-redis-config-generation --skip-assets --python "$(which python)"
|
bench init ~/frappe-bench --skip-redis-config-generation
|
||||||
mkdir -p ~/bench-cache
|
mkdir -p ~/bench-cache
|
||||||
(cd && tar czf ~/bench-cache/bench.tgz frappe-bench)
|
(cd && tar czf ~/bench-cache/bench.tgz frappe-bench)
|
||||||
fi
|
fi
|
||||||
- name: add school app to bench
|
- name: add community app to bench
|
||||||
working-directory: /home/runner/frappe-bench
|
working-directory: /home/runner/frappe-bench
|
||||||
run: bench get-app school $GITHUB_WORKSPACE
|
run: bench get-app community $GITHUB_WORKSPACE
|
||||||
- name: create bench site
|
- name: create bench site
|
||||||
working-directory: /home/runner/frappe-bench
|
working-directory: /home/runner/frappe-bench
|
||||||
run: bench new-site --mariadb-root-password root --admin-password admin frappe.local
|
run: bench new-site --mariadb-root-password root --admin-password admin frappe.local
|
||||||
- name: install school app
|
- name: install community app
|
||||||
working-directory: /home/runner/frappe-bench
|
working-directory: /home/runner/frappe-bench
|
||||||
run: bench --verbose --site frappe.local install-app school
|
run: bench --verbose --site frappe.local install-app community
|
||||||
- name: allow tests
|
- name: allow tests
|
||||||
working-directory: /home/runner/frappe-bench
|
working-directory: /home/runner/frappe-bench
|
||||||
run: bench --site frappe.local set-config allow_tests true
|
run: bench --site frappe.local set-config allow_tests true
|
||||||
@@ -74,5 +74,5 @@ jobs:
|
|||||||
run: bench --site frappe.local build
|
run: bench --site frappe.local build
|
||||||
- name: run tests
|
- name: run tests
|
||||||
working-directory: /home/runner/frappe-bench
|
working-directory: /home/runner/frappe-bench
|
||||||
run: bench --site frappe.local run-tests --app school
|
run: bench --site frappe.local run-tests --app community
|
||||||
|
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,8 +3,8 @@
|
|||||||
*.egg-info
|
*.egg-info
|
||||||
*.swp
|
*.swp
|
||||||
tags
|
tags
|
||||||
school/docs/current
|
community/docs/current
|
||||||
school/public/dist
|
community/public/dist
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
|
|||||||
24
MANIFEST.in
24
MANIFEST.in
@@ -4,15 +4,15 @@ include *.json
|
|||||||
include *.md
|
include *.md
|
||||||
include *.py
|
include *.py
|
||||||
include *.txt
|
include *.txt
|
||||||
recursive-include school *.css
|
recursive-include community *.css
|
||||||
recursive-include school *.csv
|
recursive-include community *.csv
|
||||||
recursive-include school *.html
|
recursive-include community *.html
|
||||||
recursive-include school *.ico
|
recursive-include community *.ico
|
||||||
recursive-include school *.js
|
recursive-include community *.js
|
||||||
recursive-include school *.json
|
recursive-include community *.json
|
||||||
recursive-include school *.md
|
recursive-include community *.md
|
||||||
recursive-include school *.png
|
recursive-include community *.png
|
||||||
recursive-include school *.py
|
recursive-include community *.py
|
||||||
recursive-include school *.svg
|
recursive-include community *.svg
|
||||||
recursive-include school *.txt
|
recursive-include community *.txt
|
||||||
recursive-exclude school *.pyc
|
recursive-exclude community *.pyc
|
||||||
20
README.md
20
README.md
@@ -1,4 +1,4 @@
|
|||||||
## School
|
## Community
|
||||||
|
|
||||||
This app helps people organize and manage their own communities.
|
This app helps people organize and manage their own communities.
|
||||||
|
|
||||||
@@ -7,16 +7,16 @@ The App has following components:
|
|||||||
1. Hackathons
|
1. Hackathons
|
||||||
1. LMS
|
1. LMS
|
||||||
|
|
||||||
School is built on the [Frappe Framework](https://github.com/frappe/frappe), a full-stack web app framework built with Python & JavaScript.
|
Community is built on the [Frappe Framework](https://github.com/frappe/frappe), a full-stack web app framework built with Python & JavaScript.
|
||||||
|
|
||||||
## Development Setup
|
## Development Setup
|
||||||
|
|
||||||
**Step 1:** Clone the repo
|
**Step 1:** Clone the repo
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git clone https://github.com/frappe/school.git
|
$ git clone https://github.com/fossunited/community.git
|
||||||
|
|
||||||
$ cd school
|
$ cd community
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 2:** Run docker-compose
|
**Step 2:** Run docker-compose
|
||||||
@@ -59,15 +59,15 @@ To setup the repository locally follow the steps mentioned below:
|
|||||||
|
|
||||||
1. Install bench and setup a frappe-bench directory by following the [Installation Steps](https://frappeframework.com/docs/user/en/installation).
|
1. Install bench and setup a frappe-bench directory by following the [Installation Steps](https://frappeframework.com/docs/user/en/installation).
|
||||||
1. Start the server by running bench start.
|
1. Start the server by running bench start.
|
||||||
1. In a separate terminal window, create a new site by running bench new-site school.test.
|
1. In a separate terminal window, create a new site by running bench new-site community.test.
|
||||||
1. Run bench get-app https://github.com/frappe/school.
|
1. Run bench get-app https://github.com/fossunited/community.
|
||||||
1. Run bench --site school.test install-app school.
|
1. Run bench --site community.test install-app community.
|
||||||
1. Map your site to localhost with the command ```bench --site school.test add-to-hosts```
|
1. Map your site to localhost with the command ```bench --site community.test add-to-hosts```
|
||||||
1. Now open the URL http://school.test:8000/ in your browser, you should see the app running.
|
1. Now open the URL http://community.test:8000/docs in your browser, you should see the app running.
|
||||||
|
|
||||||
### Contribution Guidelines (for The Hard Way)
|
### Contribution Guidelines (for The Hard Way)
|
||||||
|
|
||||||
1. Go to the apps/school directory of your installation and execute git pull --unshallow to ensure that you have the full git repository. Also fork the frappe/school repository on GitHub.
|
1. Go to the apps/community directory of your installation and execute git pull --unshallow to ensure that you have the full git repository. Also fork the fossunited/community repository on GitHub.
|
||||||
1. Check out a working branch in git (e.g. git checkout -b my-new-branch).
|
1. Check out a working branch in git (e.g. git checkout -b my-new-branch).
|
||||||
1. Make your proposed changes to the source
|
1. Make your proposed changes to the source
|
||||||
1. Run your local version (e.g. bench start in your bench installation). Make sure that your changes work the way you want them to.
|
1. Run your local version (e.g. bench start in your bench installation). Make sure that your changes work the way you want them to.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% set color = member.get_palette() %}
|
{% set color = member.get_palette() %}
|
||||||
<a class="button-links" href="{{ get_profile_url(member.username) }}">
|
<a href="/{{member.username}}">
|
||||||
<span class="avatar {{ avatar_class }}" title="{{ member.full_name }}">
|
<span class="avatar {{ avatar_class }}" title="{{ member.full_name }}">
|
||||||
{% if member.user_image %}
|
{% if member.user_image %}
|
||||||
<img class="avatar-frame standard-image" style="object-fit: cover;" src="{{ member.user_image }}" title="{{ member.full_name }}">
|
<img class="avatar-frame standard-image" style="object-fit: cover;" src="{{ member.user_image }}" title="{{ member.full_name }}">
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user